Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
Brightness Property
See Also 
Leadtools.Windows.Media.Effects.Effects Namespace > CubismCommandBitmapEffect Class : Brightness Property





Gets or sets a value that indicates the brightness of the image.

Syntax

Visual Basic (Declaration) 
Public Property Brightness As Integer
Visual Basic (Usage)Copy Code
Dim instance As CubismCommandBitmapEffect
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);
}
XAML Attributes Usage 

<object Brightness =int >

Dependency Property Information 

Identifier field

BrightnessProperty

Metadata properties set to true

None

Return Value

A value that indicates the brightness of the image. This value can be a number between -1000 and 1000. Negative values darken the image and positive values lighten the image.

Example

For XAML example, refer to CubismCommandBitmapEffect.

For C#/VB examples, refer to CubismCommandBitmapEffect.

Requirements

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

See Also