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

CmykColor.GetChannel Method (Int32)

Gets value stored in specified channel of this color.

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

Syntax

Visual Basic
Public Overrides Function GetChannel ( _
	index As Integer _
) As Byte
C#
public override byte GetChannel(
	int index
)

Parameters

index

Type: System.Int32

Number of the channel.

Return Value

Non-extended (8-bit) value stored in specified channel.

Remarks

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

See Also

Reference