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




In This Topic
    CreateChannelCopy(ImGearRasterPage,Int32) Method
    In This Topic
    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)
    public static ImGearRasterPage CreateChannelCopy( 
       ImGearRasterPage page,
       int channelNumber
    )
    public: static ImGearRasterPage* CreateChannelCopy( 
       ImGearRasterPage* page,
       int channelNumber
    ) 
    public:
    static ImGearRasterPage^ CreateChannelCopy( 
       ImGearRasterPage^ page,
       int 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