WebOptions.ShowOnlyWebFonts property (Publisher)
Returns or sets a Boolean value that specifies whether only web-safe fonts and font schemes should be used when the website is viewed in a browser. If True, only web-safe fonts and font schemes are used. If False, display is not limited to web-safe fonts and font schemes. The default value is False. Read/write.
Syntax
expression.ShowOnlyWebFonts
expression A variable that represents a WebOptions object.
Return value
Boolean
Remarks
This property applies to Latin-based fonts only.
Example
The following example specifies that only web-safe fonts and font schemes should be used when the website is viewed in a browser.
Dim theWO As WebOptions
Set theWO = Application.WebOptions
With theWO
.ShowOnlyWebFonts = True
End With
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.