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

GrayScaleColor.ChannelCount Property

Returns number of channels available in this color.

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

Syntax

Visual Basic
Public Overrides ReadOnly Property ChannelCount As Integer
C#
public override int ChannelCount { get; }

Property Value

Number of channels available in this color. GrayScaleColor always returns 2 (alpha channel + luminosity channel).

See Also

Reference