Determines if the text will display a Bold, Italic, or combination of styles.
Syntax
object.FontStyle [= enumFontStyle]
Properties
The FontStyle property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
enumFontStyle |
The style to display. |
Settings
The settings for enumFontStyle are:
Constant |
Value |
Description |
Regular |
0 |
The text is displayed as regular. |
Bold |
1 |
The text is displayed as bold. |
Italic |
2 |
The text is displayed as italic. |
BoldItalic |
3 |
The text is displayed as both bold and italic. |