Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int BrightnessFactor {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object BrightnessFactor =int >

Dependencies Property Information 

Identifier field

BrightnessFactorProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object BrightnessFactor =int >

Dependencies 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, Windows Server 2008 family

See Also