Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterColorHelper Class : GetKnownColor Method |
public RasterKnownColor GetKnownColor( RasterColor color )
'Declaration
Public Function GetKnownColor( _ ByVal color As RasterColor _ ) As RasterKnownColor
'Usage
Dim instance As RasterColorHelper Dim color As RasterColor Dim value As RasterKnownColor value = instance.GetKnownColor(color)
public RasterKnownColor GetKnownColor( RasterColor color )
function Leadtools.RasterColorHelper.GetKnownColor( color )
public: RasterKnownColor GetKnownColor( RasterColor color )
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.