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





Gets or sets an integer that represents the gamma value.

Syntax

Visual Basic (Declaration) 
Public Property Gamma As Integer
Visual Basic (Usage)Copy Code
Dim instance As GammaCorrectCommandBitmapEffect
Dim value As Integer
 
instance.Gamma = value
 
value = instance.Gamma
C# 
public int Gamma {get; set;}
Managed Extensions for C++ 
public: __property int get_Gamma();
public: __property void set_Gamma( 
   int value
);
C++/CLI 
public:
property int Gamma {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Gamma =int >

Dependency Property Information 

Identifier field

GammaProperty

Metadata properties set to true

None

Return Value

Integer that represents the Gamma value. It can be any number greater than 0.
Because this is an unsigned integer (Integer with values greater than 0), it is 100 times the actual gamma value. For example, use 235 to set a gamma value of 2.35.

Example

For XAML example, refer to GammaCorrectCommandBitmapEffect.

For C#/VB examples, refer to GammaCorrectCommandBitmapEffect.

Requirements

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

See Also