Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

CmykColor.Implicit Operator

Casts this CmykColor to Int64 containing extended numerical representation of the color.

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

Syntax

Visual Basic
Public Shared Widening Operator CType ( _
	obj As CmykColor _
) As Long
C#
public static implicit operator long (
	CmykColor obj
)

Parameters

obj

Type: Aurigma.GraphicsMill.CmykColor

CmykColor class instance to cast.

Return Value

Int64 containing extended numerical representation of the color.

Remarks

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

Reference