Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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);
}
XAML Attributes Usage 

<object BrightnessFactor =int >

Dependency Property Information 

Identifier field

BrightnessFactorProperty

Metadata properties set to true

None

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

For XAML example, refer to SubtractBackgroundCommandBitmapEffect.

For C#/VB examples, refer to SubtractBackgroundCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also