Pane.MinimumFontSize Property
Returns or sets the minimum font size (in points) displayed for the specified pane. Read/write Long.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property MinimumFontSize As Integer
Get
Set
'Usage
Dim instance As Pane
Dim value As Integer
value = instance.MinimumFontSize
instance.MinimumFontSize = value
int MinimumFontSize { get; set; }
Property Value
Type: System.Int32
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.
Examples
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= 12End With
This example returns the minimum font size for the active pane.
Msgbox _
ActiveDocument.ActiveWindow.ActivePane.MinimumFontSize