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

Color.ChannelCount Property

Returns number of channels available in this color.

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

Syntax

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

Property Value

Number of channels available in this color.

Remarks

Alpha channel is always available. That's why RGB colors always return 4 (three color channels + alpha channel), grayscale colors returns 2 (luminosity channel + alpha channel), etc.

See Also

Reference