Leadtools Namespace > RasterColorHelper Class : IsKnownColor Method |
public static bool IsKnownColor( RasterColor color )
'Declaration Public Shared Function IsKnownColor( _ ByVal color As RasterColor _ ) As Boolean
'Usage Dim color As RasterColor Dim value As Boolean value = RasterColorHelper.IsKnownColor(color)
public static bool IsKnownColor( RasterColor color )
function Leadtools.RasterColorHelper.IsKnownColor( color )
public: static bool IsKnownColor( RasterColor color )
This property does a comparison of the ARGB values. Therefore, the IsKnownColor property might return true even if this RasterColor was no creating using the FromKnownColor method.
To get the matching RasterKnownColor enumeration for a RasterColor, use GetKnownColor.