Gets or sets a value that represents the gamma value.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Gamma As Integer |
C# | |
---|
public int Gamma {get; set;} |
C++/CLI | |
---|
public:
property int Gamma {
int get();
void set (int value);
} |
Return Value
Value that represents the gamma value. This value is used to modify the midtones of the image. The value in this member is a 100 times the actual value. Therefore, if uGamma = 167 then the actual gamma value is 1.67. Likewise, if you want to use a gamma of 1.75, set this property to 175. The default value is DEFAULT_GAMMA, which is 100 (actual gamma value of 1.00) which does not change the gamma value of the image.
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