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

RgbColor.Implicit Operator

Casts this RgbColor 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 RgbColor _
) As CmykColor
C#
public static implicit operator CmykColor (
	RgbColor obj
)

Parameters

obj

Type: Aurigma.GraphicsMill.RgbColor

RgbColor 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