Leadtools Namespace > RasterColor Structure : GetKnownColor Method |
[CLSCompliantAttribute(false)] public RasterKnownColor GetKnownColor()
'Declaration <CLSCompliantAttribute(False)> Public Function GetKnownColor() As RasterKnownColor
'Usage Dim instance As RasterColor Dim value As RasterKnownColor value = instance.GetKnownColor()
[CLSCompliantAttribute(false)] public RasterKnownColor GetKnownColor()
CLSCompliantAttribute() function Leadtools.RasterColor.GetKnownColor()
[CLSCompliantAttribute(false)] public: RasterKnownColor GetKnownColor();
This method does a comparison of the ARGB values. Therefore, the GetKnownColor method might return a valid RasterKnownColor enumeration member even if this RasterColor was no creating using the FromKnownColor method.
To check whether this RasterColor has a matching RasterKnownColor, use IsKnownColor.