Share via


Pane.DisplayVerticalRuler Property (Word)

True if a vertical ruler is displayed for the specified pane. Read/write Boolean.

Syntax

expression .DisplayVerticalRuler

expression A variable that represents a Pane object.

Remarks

A vertical ruler appears only in print layout view, and only if the DisplayRulers property is set to True.

Example

This example switches the active pane to print layout view and displays the horizontal and vertical rulers.

With ActiveDocument.ActiveWindow.ActivePane 
 .View.Type = wdPrintView 
 .DisplayRulers = True 
 .DisplayVerticalRuler = True 
End With

See Also

Concepts

Pane Object

Pane Object Members