ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMColor Class / CreateCMYKColor Method
Cyan
Magenta
Yellow
Black
Alpha

In This Topic
    CreateCMYKColor Method
    In This Topic
    Creates a new CMYK color from input parameters.
    Syntax
    public static CIMColor CreateCMYKColor( 
       double c,
       double m,
       double y,
       double k,
       double alpha
    )
    Public Shared Function CreateCMYKColor( _
       Optional ByVal c As Double, _
       Optional ByVal m As Double, _
       Optional ByVal y As Double, _
       Optional ByVal k As Double, _
       Optional ByVal alpha As Double _
    ) As CIMColor

    Parameters

    c
    Cyan
    m
    Magenta
    y
    Yellow
    k
    Black
    alpha
    Alpha

    Return Value

    A CMYK color
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also