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




Gets or sets the brightness factor for increasing or decreasing the brightness of the image.

Syntax

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

Return Value

Brightness factor for increasing or decreasing the brightness of the image. Valid values range from 0 - 400. If you pass 100 the brightness remains unchanged. Lower values darken the image while higher values lighten 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