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

Color.FromCmyk32 Method (Int32)

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)


Visual Basic
Public Shared Function FromCmyk32 ( _
	cmyk As Integer _
) As CmykColor
public static CmykColor FromCmyk32(
	int cmyk



Type: System.Int32

Numeric representation of the CMYK value.

Return Value

CmykColor class instance constructed from given number.


Low byte of this 32-bit value contains black channel, next byte contains yellow channel, next one is a magenta channel, and the high byte is a cyan channel. Alpha channel cannot be passed into this method. You can also use extended version of this method, i.e. FromCmyk64(Int64).

See Also