Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Brightness Property
See Also 
Leadtools.Windows.Media.Effects.Color Namespace > ChangeIntensityCommandBitmapEffect Class : Brightness Property





Gets or sets a value that represents the amount to change the intensity.

Syntax

Visual Basic (Declaration) 
Public Property Brightness As Integer
Visual Basic (Usage)Copy Code
Dim instance As ChangeIntensityCommandBitmapEffect
Dim value As Integer
 
instance.Brightness = value
 
value = instance.Brightness
C# 
public int Brightness {get; set;}
C++/CLI 
public:
property int Brightness {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Brightness =int >

Dependencies Property Information 

Identifier field

BrightnessProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Brightness =int >

Dependencies Property Information 

Identifier field

BrightnessProperty

Metadata properties set to true

None

Return Value

Amount to change the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the image. A negative values decreases (or darkens) the brightness of the image.

Example

For XAML example, refer to ChangeIntensityCommandBitmapEffect.

For C#/VB examples, refer to ChangeIntensityCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also