This documentation is for the old version. Go to the latest Graphics Mill docs

Color.FromCmyk64 Method

Returns CmykColor class instance constructed from numeric 32-bit representation of CMYK value without alpha channel.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Shared Function FromCmyk64 ( _
	cmyk As Long _
) As CmykColor
C#
public static CmykColor FromCmyk64(
	long cmyk
)

Parameters

cmyk

Type: System.Int64

Numeric representation of the CMYK value.

Return Value

CmykColor class instance constructed from given number.

Remarks

Low word (2 bytes) of this 64-bit value contains black channel, next word contains yellow channel, next one is a magenta channel, and the high word is a cyan channel. Alpha channel cannot be passed into this method. You can also use non-extended version of this method, i.e. FromCmyk32(Int32).

See Also

Reference