Leadtools Namespace > RasterColor Structure : IsKnownColor Property |
public bool IsKnownColor {get;}
'Declaration Public ReadOnly Property IsKnownColor As Boolean
'Usage Dim instance As RasterColor Dim value As Boolean value = instance.IsKnownColor
public bool IsKnownColor {get;}
get_IsKnownColor();
This property does a comparison of the ARGB values. Therefore, the IsKnownColor property might return true even if this RasterColor was not created using the FromKnownColor method.
To get the matching RasterKnownColor enumeration for a RasterColor, use GetKnownColor.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2