DisplayVerticalRuler Property
Applies To
Pane object, Window object.
Description
True if a vertical ruler is displayed for the specified window or pane. Read/write Boolean.
Note A vertical ruler appears only in page layout view, and only if the DisplayRulers property is set to True.
See Also
DisplayRulers property.
Example
This example switches each window in the Windows collection to page layout view and displays the horizontal and vertical rulers.
For Each myWindow In Windows
With myWindow
.View.Type = wdPageView
.DisplayRulers = True
.DisplayVerticalRuler = True
End With
Next myWindow
This example hides the horizontal and vertical rulers for the active window.
With ActiveWindow
.DisplayVerticalRuler = False
.DisplayRulers = False
End With