Export (0) Print
Expand All

Label.UseCompatibleTextRendering Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value that specifies whether text rendering should be compatible with previous releases of Windows Forms.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public bool UseCompatibleTextRendering { get; set; }
/** @property */
public boolean get_UseCompatibleTextRendering ()

/** @property */
public void set_UseCompatibleTextRendering (boolean value)

public function get UseCompatibleTextRendering () : boolean

public function set UseCompatibleTextRendering (value : boolean)

Property Value

true if text rendering should be compatible with previous releases of Windows Forms; otherwise, false. The default is false.

When you set the property UseCompatibleTextRendering programmatically, it overwrites the UseCompatibleTextRendering compiler switch.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft