LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also