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

ChannelsProvider.Channel Property (Int32)

Extracts/replaces specified bitmap channel to/with grayscale Bitmap.

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

Syntax

Visual Basic
Public Default Property Channel ( _
	channelIndex As Integer _
) As Bitmap
C#
public Bitmap this[
	int channelIndex
] { get; set; }

Parameters

channelIndex

Type: System.Int32

Number of channel to work with.

Property Value

Bitmap class instance specifying a bitmap channel. It always has the same dimensions as source bitmap and its pixel format is Format8bppGrayScale (if source bitmap is not extended) or Format16bppGrayScale (if source bitmap is extended).

See Also

Reference