ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > AdjustContrast Method : AdjustContrast(ImGearRasterPage,Double,Double,Double) Method |
'Declaration Public Overloads Shared Sub AdjustContrast( _ ByVal page As ImGearRasterPage, _ ByVal contrast As Double, _ ByVal brightness As Double, _ ByVal gamma As Double _ )
'Usage Dim page As ImGearRasterPage Dim contrast As Double Dim brightness As Double Dim gamma As Double ImGearRasterProcessing.AdjustContrast(page, contrast, brightness, gamma)
public static void AdjustContrast( ImGearRasterPage page, double contrast, double brightness, double gamma )
public: static void AdjustContrast( ImGearRasterPage* page, double contrast, double brightness, double gamma )
public: static void AdjustContrast( ImGearRasterPage^ page, double contrast, double brightness, double gamma )
Average parameter range:
Can be applied only to the raster pages with standard (non Run-Ends) DIB.
Method ImGearRasterProcessing.Verifier.CanApplyAdjustContrast (ImGearPage page)
can be called to check whether the operation can be performed.
// Increases the contrast, lowers the brightness, and increases the gamma a little.
ImGearRasterProcessing.AdjustContrast(igRasterPage, 1.4, -40, 3.5);
' Increases the contrast, lowers the brightness, and increases the gamma a little.
ImGearRasterProcessing.AdjustContrast(igRasterPage, 1.4, -40, 3.5)