Visual Basic (Declaration) | |
---|---|
Public Overridable Property PaintGamma As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual int PaintGamma {get; set;} |
Return Value
The current gamma correction value.The value of PaintGamma 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 CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6