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 RgbColor automatically converting it to RGB color space.

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

Syntax

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

Parameters

obj

Type: Aurigma.GraphicsMill.GrayScaleColor

GrayScaleColor class instance to cast.

Return Value

Converted RgbColor class instance.

Remarks

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

See Also

Reference