Gets the known color enumeration member that matches this color ARGB value.
public Leadtools.RasterKnownColor GetKnownColor(
Leadtools.RasterColor color
)
Public Function GetKnownColor( _
ByVal color As Leadtools.RasterColor _
) As Leadtools.RasterKnownColor
public Leadtools.RasterKnownColor GetKnownColor(
Leadtools.RasterColor color
)
function Leadtools.RasterColorHelper.GetKnownColor(
color
)
public:
Leadtools.RasterKnownColor GetKnownColor(
Leadtools.RasterColor color
)
color
The color ARGB value.
An RasterKnownColor enumeration member that matches this color ARGB value. If the color ARGB value does not match any known color, RasterKnownColor.Black is returned.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET