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

Color.Implicit Operator

Casts this Aurigma.GraphicsMill.Color class instance to System.Drawing.Color value.

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

Syntax

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

Parameters

obj

Type: Aurigma.GraphicsMill.Color

Aurigma.GraphicsMill.Color class instance to cast.

Return Value

Color value casted to System.Drawing.Color.

Remarks

If this Aurigma.GraphicsMill.Color is not belong to RGB color space, it is automatically converted to RGB using ConvertColorSpace(ColorSpace) method. Note, no color management is applied in this case and colors may be reproduced inaccurately.

See Also

Reference