Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- Page from which the channel is obtained.
- channelNumber
- Channel number.
Return Value
ImageGear.Core.ImGearRasterPage class containing a copy of the channel.ChannelNumber can be within the [0..ChannelCount-1] range.| C# | Copy Code |
|---|---|
// Create a new image by copying the third channel of an existing image.
ImGearRasterPage igRasterPageNew = ImGearRasterProcessing.CreateChannelCopy(
igRasterPage, 2); | |
| Visual Basic | Copy Code |
|---|---|
' Create a new image by copying the third channel of an existing image. Dim igRasterPageNew As ImGearRasterPage = ImGearRasterProcessing.CreateChannelCopy(igRasterPage, 2) | |