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

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also