ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > InvertContrast Method : InvertContrast(ImGearRasterPage,ImGearContrastModes,ImGearChannelRange,ImGearContrastOptions) Method |
'Declaration Public Overloads Shared Sub InvertContrast( _ ByVal page As ImGearRasterPage, _ ByVal mode As ImGearContrastModes, _ ByVal channels As ImGearChannelRange, _ ByVal options As ImGearContrastOptions _ )
'Usage Dim page As ImGearRasterPage Dim mode As ImGearContrastModes Dim channels As ImGearChannelRange Dim options As ImGearContrastOptions ImGearRasterProcessing.InvertContrast(page, mode, channels, options)
public static void InvertContrast( ImGearRasterPage page, ImGearContrastModes mode, ImGearChannelRange channels, ImGearContrastOptions options )
public: static void InvertContrast( ImGearRasterPage* page, ImGearContrastModes mode, ImGearChannelRange channels, ImGearContrastOptions* options )
public: static void InvertContrast( ImGearRasterPage^ page, ImGearContrastModes mode, ImGearChannelRange channels, ImGearContrastOptions^ options )
If Mode
is equal to ImGearContrastModes.PALETTE, DIB must have a palette.
Use ImGearRasterProcessingVerifier.CanApplyInvertContrast method to check whether the operation can be performed.