Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.
C# | ![]() |
---|---|
// Swaps the first and third channels. In an RGB image this swaps the red and blue channels.
ImGearRasterProcessing.SwapChannels(igRasterPage, 0, 2); |
Visual Basic | ![]() |
---|---|
' Swaps the first and third channels. In an RGB image this swaps the red and blue channels. ImGearRasterProcessing.SwapChannels(DirectCast(igRasterPage, ImGearRasterPage), 0, 2) |