Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Brightness Property
See Also 
Leadtools.Windows.Media.Effects.Color Namespace > ContrastBrightnessIntensityCommandBitmapEffect Class : Brightness Property




Gets or sets the amount of change in the brightness.

Syntax

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

Return Value

Value that refers to the color intensity scale factor. The brightness ranges from -1000 to 1000. This value is divided internally by 1000. A positive value increases (or lightens) the brightness of the image. A negative value decreases (or darkens) the brightness of the image.

Example

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