Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property int get_PaintContrast();
public: __property void set_PaintContrast( 
   int value
);
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also