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

Color.GetChannel32 Method (ColorChannel)

Gets extended (16-bit) value stored in specified channel of this color.

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

Syntax

Visual Basic
Public Overridable Function GetChannel32 ( _
	colorChannel As ColorChannel _
) As Integer
C#
public virtual int GetChannel32(
	ColorChannel colorChannel
)

Parameters

colorChannel

Type: Aurigma.GraphicsMill.ColorChannel

ColorChannel value specifying an alias of channel to retrieve. Draw attention, it does not check color space, so if you pass, say, Yellow to RGB color, you will get a value stored at the same index as yellow in CMYK (i.e. Green).

Return Value

Extended (16-bit) value stored in specified channel.

Remarks

You can also use non-extended version of this property, i.e. GetChannel(Int32). Unlike this property, GetChannel(Int32) returns non-extended (8-bit) value.

See Also

Reference