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


ICmykColor Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

ICmykColor Interface

Provides access to members that control the CMYK color values.

Product Availability

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

Description

ICmykColor maintains information about a Color by using the CMYK (Cyan, Magenta, Yellow, and blacK[or chroma]) color model.
The ICmykColor interface allows you to define colors in terms of the CMYK color model by setting its four properties--Cyan, Magenta, Yellow, and Black--to values between 0 and 100. A value of 0 indicates the lack of a color, and a value of 100 indicates a maximum of a color.
The CMYKColor coclass also includes the IPostScriptColor interface.

Members

Description
Read/write property Black The black component of an ICmykColor (0-255).
Read/write property CMYK The CMYK value of color.
Read/write property Cyan The cyan component of an ICmykColor (0-255).
Method GetCIELAB The CIELAB value of color.
Read/write property Magenta The magenta component of an ICmykColor (0-255).
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.
Read/write property Yellow The yellow component of an ICmykColor (0-255).

Inherited Interfaces

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

CoClasses that implement ICmykColor

CoClasses and Classes Description
CmykColor A color in the CMYK(Cyan Magenta Yellow, Black) color system.

See Also

IColor Interface | ICieLabConversion Interface | ICmykColor Interface | IEnumColors Interface

.NET Related Topics

How to make different types of colors and color ramps