MinimumFontSize Property

Microsoft Word Visual Basic

MinimumFontSize Property

       

Returns or sets the minimum font size (in points) displayed for the specified pane. Read/write Long.

expression.MinimumFontSize

expression   Required. An expression that returns a Pane object.

Remarks

This property only affects the text as shown in Web layout view. The point sizes that are displayed on the Formatting toolbar and used for printing aren't changed.

Example

This example sets the active window to online view and then sets the minimum font size for the active pane to 12 points.

With ActiveDocument.ActiveWindow
    .View.Type = wdWebView
    .ActivePane.MinimumFontSize = 12
End With

This example returns the minimum font size for the active pane.

Msgbox _
    ActiveDocument.ActiveWindow.ActivePane.MinimumFontSize