Export (0) Print
Expand All

Graphics.TextContrast Property

Gets or sets the gamma correction value for rendering text.

[Visual Basic]
Public Property TextContrast As Integer
[C#]
public int TextContrast {get; set;}
[C++]
public: __property int get_TextContrast();
public: __property void set_TextContrast(int);
[JScript]
public function get TextContrast() : int;
public function set TextContrast(int);

Property Value

This property specifies a value of the gamma correction used for rendering antialiased and ClearType text.

Remarks

The gamma correction value must be between 0 and 12. The default value is 4.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Graphics Class | Graphics Members | System.Drawing Namespace

Show:
© 2015 Microsoft