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

CmykColor.ToInt32 Method

Returns non-extended (8 bit per channel) numeric representation of this CmykColor.

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

Syntax

Visual Basic
Public Overrides Function ToInt32 As Integer
C#
public override int ToInt32()

Return Value

Value containing numeric representation of this CmykColor.

Remarks

CMYK color contains more channels than can fit to Int32 value. It has 5 channels (alpha, cyan, magenta, yellow, and black), but a 32-bit number can hold only 4 channels. That's why alpha channel is truncated and you get only CMYK quad instead of ACMYK quintuple.

See Also

Reference