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




Gets or sets the current intensity value for the image.

Syntax

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

Return Value

The current intensity value.

Example

For an example, refer to PaintGamma.

Remarks

Amount to change the intensity. Valid values are -1000 to +1000. A positive value increases (or lightens) the brightness of the display. A negative values decreases (or darkens) the brightness of the display.

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