![]() |
Previous | Next |
The fontSmoothing attribute specifies or retrieves a value indicating whether font smoothing is enabled.
Syntax
elementID.fontSmoothing
Possible Values
This attribute is a read/write Boolean.
Value | Description |
true | Font smoothing is enabled. |
false | Default. Font smoothing is disabled. |
Remarks
Font smoothing uses the anti-aliasing feature of the operating system. If font smoothing is enabled and the operating system supports anti-aliasing, the control attempts to anti-alias the text. Not all fonts support anti-aliasing.
Operating Systems that support anti-aliasing:
Warning: Font smoothing over a transparent color may cause the transparent color to blend into the characters. It is not recommended that you use fontSmoothing if the text will display over a transparency.
Example
Please see the value attribute for a sample illustrating how the attributes of the TEXT element are used.
See Also
Previous | Next |