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

GrayScaleColor.Implicit Operator

Casts this GrayScaleColor to CmykColor automatically converting it to CMYK color space.

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

Syntax

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

Parameters

obj

Type: Aurigma.GraphicsMill.GrayScaleColor

GrayScaleColor class instance to cast.

Return Value

Converted CmykColor class instance.

Remarks

Note, no color management is applied in this case and colors may be reproduced inaccurately.

See Also

Reference