In This Topic
Swaps two channels in page's DIB.
Syntax
'Declaration
Public Shared Sub SwapChannels( _
ByVal As ImGearRasterPage, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim page As ImGearRasterPage
Dim channelIndex1 As Integer
Dim channelIndex2 As Integer
ImGearRasterProcessing.SwapChannels(page, channelIndex1, channelIndex2)
public static void SwapChannels(
ImGearRasterPage ,
int ,
int
)
public: static void SwapChannels(
ImGearRasterPage* ,
int ,
int
)
public:
static void SwapChannels(
ImGearRasterPage^ ,
int ,
int
)
Parameters
- page
- Page to swap the channels.
- channelIndex1
- Index of the first channel to be swapped.
- channelIndex2
- Index of the second channel to be swapped.
Example
See Also