ImageGear for .NET
CreateChannelCopy(ImGearRasterPage,Int32) Method
See Also  Example Send Feedback
ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > CreateChannelCopy Method : CreateChannelCopy(ImGearRasterPage,Int32) Method




page
Page from which the channel is obtained.
channelNumber
Channel number.

Glossary Item Box

Copies a channel to a new page.

Syntax

 
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.

Remarks

ChannelNumber can be within the [0..ChannelCount-1] range.

Example

C#Copy Code
// Create a new image by copying the third channel of an existing image.
ImGearRasterPage igRasterPageNew = ImGearRasterProcessing.CreateChannelCopy(
    igRasterPage, 2);
Visual BasicCopy Code
' Create a new image by copying the third channel of an existing image.
Dim igRasterPageNew As ImGearRasterPage = ImGearRasterProcessing.CreateChannelCopy(igRasterPage, 2)

See Also

©2013. Accusoft Corporation. All Rights Reserved.