17.5. Font Control
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 ... |
Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.