LEADTOOLS (Leadtools assembly)

IsKnownColor Method

Show in webframe







The raster color object.
Gets a value indicating whether this RasterColor structure is a predefined color. Predefined colors are represented by the elements of the RasterKnownColor enumeration.
Syntax
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
) 

Parameters

color
The raster color object.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

RasterColorHelper Class
RasterColorHelper Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.