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


IColor.CMYK Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IC > IColor Interface > IColor.CMYK Property
ArcGIS Developer Help

IColor.CMYK Property

The CMYK value of color.

[Visual Basic .NET]
Public Property CMYK As Integer
[C#]
public int CMYK {get; set;}
[C++]
HRESULT get_CMYK(
  OLE_COLOR CMYK
);
[C++]
HRESULT put_CMYK(
  OLE_COLOR* CMYK
);
[C++]
Parameters
CMYK [in]

CMYK is a parameter of type OLE_COLOR CMYK [out, retval]
CMYK is a parameter of type OLE_COLOR*

Product Availability

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

Description

CMYK returns the Long (ASCII) number calculated from the Cyan, Magenta, Yellow and Black color attributes.

Remarks

C = 0 - 100 ;M = 0 - 100; Y = 0 - 100; K = 0 - 100

See Also

IColor Interface