Font object (Outlook Forms Script)

Defines the characteristics of the text used by a control.

Remarks

Each control has its own Font object to let you set its text characteristics independently of the characteristics defined for other controls. Use font properties to specify the font name, to set bold, italic, or underlined text, or to adjust the size of the text.

Properties

Name Description
Bold Returns or sets a Boolean that specifies whether text is normal or bold. Read/write.
Italic Returns or sets a Boolean that specifies whether text is normal or italic. Read/write.
Size Returns or sets a Currency that indicates the height, in points, of displayed text. Read/write.
Strikethrough Returns or sets a Boolean that specifies whether the text appears with strikethrough marks. Read/write.
Underline Returns or sets a Boolean that specifies whether text is underlined. Read/write.
Weight Returns or sets an Integer that specifies the darkness of the type. Read/write.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.