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