Visual Basic (Declaration) | |
---|---|
Public Property PaintGamma As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int PaintGamma {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_PaintGamma(); public: __property void set_PaintGamma( int value ); |
Return Value
The current gamma correction value.The paint gamma value can be any number greater than 0. The default value is 100.
Because this is an unsigned integer, it is 100 times the actual gamma value. For example, use 235 to set a gamma value of 2.35. Intensity values ideally follow a logarithmic progression, because the eye perceives changes in intensity as being equal when the ratio of change is equal. For example, we would see a change from 0.1 to 0.2 as being equal to a change from 0.2 to 0.4.
Gamma is a standard constant that is used to calculate the progression. For most CRTs the gamma constant is in the range of 2.2 to 2.5.
For more information, refer to Changing Brightness and Contrast.
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