// Channel range to adjust contrast.
ImGearChannelRange igChannelRange = new ImGearChannelRange(0, igRasterPage.DIB.ChannelCount);
// Solarize the image, inverting the contrast the contrast if above threshold.
ImGearEffects.Solarize(igRasterPage, 200,
ImGearContrastModes.AUTO, igChannelRange);
' Channel range to adjust contrast.
Dim igChannelRange As New ImGearChannelRange(0, igRasterPage.DIB.ChannelCount)
' Solarize the image, inverting the contrast the contrast if above threshold.
ImGearEffects.Solarize(igRasterPage, 200, ImGearContrastModes.AUTO, igChannelRange)