Specifies the name of the font used to display text. Available at design time and run time.
Object.FontName[ = cName]
- Specifies the name of the font. The default is Arial.
The default FontSize property setting is 9 points. Available fonts vary according to your system configuration. Font-related properties can be set only to values for which fonts exist. At design time, a list of available fonts is displayed when you select the FontName property in the Properties window and click the down arrow to the right of the Property Settings box.
In general, change FontName before setting size and style attributes with the FontSize, FontBold, FontItalic, FontStrikethru, and FontUnderline properties.