ArcObjects Library Reference (Display)  

IGrayColor Interface

Provides access to members that control the gray color.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IGrayColor maintains information about a Color by using the level of grayness. The Level property can be set to a value representing a pure shade of gray, from 0, which is black, to 255, which is white.

Members

Description
Read/write property CMYK The CMYK value of color.
Method GetCIELAB The CIELAB value of color.
Read/write property Level The level of grayness of an IGrayColor (0 = White - 255 = Black).
Read/write property NullColor Indicates whether this color is null.
Read/write property RGB The RGB value of color.
Method SetCIELAB The CIELAB value of color.
Read/write property Transparency The Alpha Blending value. (0 for transparent, 255 for opaque).
Read/write property UseWindowsDithering Indicates if colors should be dithered to simulate colors that aren't supported by the display. This only applies on displays that have 256 or fewer colors.

Inherited Interfaces

Interfaces Description
IColor Provides access to members that control the basic color interface.

CoClasses that implement IGrayColor

CoClasses and Classes Description
GrayColor A color in the grayscale color system.

See Also

IHlsColor Interface | IRgbColor Interface | IHsvColor Interface | IGrayColor Interface