Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PaintContrast Property
See Also 
Leadtools Namespace > RasterImage Class : PaintContrast Property



Gets or sets the current contrast value for the image.

Syntax

Visual Basic (Declaration) 
Public Property PaintContrast As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As Integer
 
instance.PaintContrast = value
 
value = instance.PaintContrast
C# 
public int PaintContrast {get; set;}
C++/CLI 
public:
property int PaintContrast {
   int get();
   void set (int value);
}

Return Value

The current contrast value.

Example

For an example, refer to PaintGamma.

Remarks

Amount of contrast change. Valid values are -1000 to +1000.

For more information, refer to Changing Brightness and Contrast.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also