Share via


FixedWidthFont Property

Sets or returns the fixed-width font setting in the host application. Read/write String.

Remarks

When you set the FixedWidthFont property, the host application does not check the value for validity.

Example

This example sets the fixed-width font and fixed-width font size for the English/Western European/Other Latin Script character set in the active application.

Application.DefaultWebOptions. _
Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) _
.FixedWidthFont = "System"
Application.DefaultWebOptions. _
Fonts(msoCharacterSetEnglishWesternEuropeanOtherLatinScript) _
.FixedWidthFontSize = 12

Applies to | WebPageFont Object