ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > EqualizeContrast Method : EqualizeContrast(ImGearRasterPage,ImGearContrastModes,ImGearChannelRange) Method |
'Declaration Public Overloads Shared Sub EqualizeContrast( _ 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.EqualizeContrast(page, mode, channels)
public static void EqualizeContrast( ImGearRasterPage page, ImGearContrastModes mode, ImGearChannelRange channels )
public: static void EqualizeContrast( ImGearRasterPage* page, ImGearContrastModes mode, ImGearChannelRange channels )
public: static void EqualizeContrast( ImGearRasterPage^ page, ImGearContrastModes mode, ImGearChannelRange channels )
It can be applied only to raster pages with standard (non Run-Ends) DIB.
If ContrastMode is equal to ImGearContrastModes.PALETTE, DIB must have a palette.
Use ImGearRasterProcessingVerifier.CanApplyEqualizeContrast method to check whether the operation can be performed.