ShowOnlyWebFonts Property

Microsoft Publisher Visual Basic

ShowOnlyWebFonts Property

Returns or sets a Boolean value that specifies whether only Web-safe fonts and font schemes should be used when the Web site 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.

expression.ShowOnlyWebFonts

expression    Required. An expression that returns a WebOptions object.

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 Web site is viewed in a browser.

Dim theWO As WebOptions

Set theWO = Application.WebOptions

With theWO
    .ShowOnlyWebFonts = True
End With