LEADTOOLS (Leadtools assembly)

IsKnownColor Property

Show in webframe







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 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(); 
public:
property bool IsKnownColor {
   bool get();
}

Property Value

true if this RasterColor contains an ARGB value that has a matching RasterKnownColor enumeration member;false, otherwise.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

RasterColor Structure
RasterColor Members

 

 


Products | Support | Contact Us | Copyright Notices

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