Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
Brightness Property
See Also 




Gets or sets a value that represents the amount to change the brightness, in tenths of a percent.

Syntax

Visual Basic (Declaration) 
Public Property Brightness As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColorReplaceCommand
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

Amount to change the brightness, in tenths of a percent. Valid values range from -1000 to 1000. This value is divided internally by 10. Positive values increase (or lighten) the brightness of the image. Negative values decrease (or darken) 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