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

CmykColor.ToInt64 Method

Returns extended (16 bit per channel) numeric representation of this CmykColor.

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


Visual Basic
Public Overrides Function ToInt64 As Long
public override long ToInt64()

Return Value

Value containing numeric representation of this CmykColor.


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

See Also