SystemInformation.FontSmoothingType Property

 

Gets the current type of font smoothing.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

static member FontSmoothingType : int with get

Property Value

Type: System.Int32

A value that indicates the current type of font smoothing.

Exception Condition
NotSupportedException

The operating system does not support this feature.

The FontSmoothingType property returns a value that indicates the type of currently active font smoothing.

The following table indicates the meaning of the values returned by this property:

Value

Meaning

0

Font smoothing type could not be determined.

1

Standard font smoothing.

2

ClearType font smoothing.

System_CAPS_noteNote

This property is supported only on Windows XP and the Windows Server 2003 family.

The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: