ImageGear22.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > CreateChannelCopy Method : CreateChannelCopy(ImGearRasterPage,Int32) Method |
'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)
public static ImGearRasterPage CreateChannelCopy( ImGearRasterPage page, int channelNumber )
public: static ImGearRasterPage* CreateChannelCopy( ImGearRasterPage* page, int channelNumber )
public: static ImGearRasterPage^ CreateChannelCopy( ImGearRasterPage^ page, int channelNumber )
ChannelNumber
can be within the [0..ChannelCount-1
] range.// Create a new image by copying the third channel of an existing image.
ImGearRasterPage igRasterPageNew = ImGearRasterProcessing.CreateChannelCopy(
igRasterPage, 2);
' Create a new image by copying the third channel of an existing image. Dim igRasterPageNew As ImGearRasterPage = ImGearRasterProcessing.CreateChannelCopy(igRasterPage, 2)