This document is archived and information here might be outdated.  Recommended version.


IGrayColor Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IG > IGrayColor Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement IGrayColor

Classes Description
GrayColor A color in the grayscale color system.

See Also

IHlsColor Interface | IGrayColor Interface | IRgbColor Interface | IHsvColor Interface