ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / CreateChannelCopy Method / CreateChannelCopy(ImGearRasterPage,Int32) Method
Page from which the channel is obtained.
Channel number.




CreateChannelCopy(ImGearRasterPage,Int32) Method
Copies a channel to a new page.
Syntax
'Declaration
 
Public Overloads Shared Function CreateChannelCopy( _
   ByVal page As ImGearRasterPage, _
   ByVal channelNumber As Integer _
) As ImGearRasterPage
 
'Usage
 
Dim page As ImGearRasterPage
Dim channelNumber As Integer
Dim value As ImGearRasterPage
 
value = ImGearRasterProcessing.CreateChannelCopy(page, channelNumber)

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
See Also