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



Gets or sets the current contrast value for this RasterImage.

Syntax

Visual Basic (Declaration) 
Public Overridable 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 virtual int PaintContrast {get; set;}
C++/CLI 
public:
virtual 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 with 0 as the default value.

For more information, refer to Changing Brightness and Contrast .

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also