June 2006
Intermediate to advanced
1344 pages
42h 52m
English
This section introduces methods and constants related to font control. The properties of Font objects cannot be modified. If you need a different Font, you must create a new Font object. There are many overloaded versions of the Font constructor for initializing Font objects. Some properties of class Font are summarized in Fig. 17.8.
| Property | Description |
|---|---|
| Bold | Returns True if the font is bold. |
| FontFamily | Returns the font’s FontFamily—a grouping structure to organize fonts and define their similar properties. |
| Height | Returns the height of the font. |
| Italic | Returns True if the font is italic. |
| Name | Returns the font’s name as a String. |
| Size | Returns a float value indicating the current font size measured ... |
Read now
Unlock full access