Display/Show related procedures in class Pane (Word VBA)

This page presents procedures from class Pane related to the theme Display/Show: DisplayRulers and DisplayVerticalRuler

DisplayRulers

True if rulers are displayed for the specified pane.

The DisplayRulers property is equivalent to the Ruler command on the View menu. If DisplayRulers is False, the horizontal and vertical rulers won't be displayed, regardless of the state of the DisplayVerticalRuler property.

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

DisplayVerticalRuler

True if a vertical ruler is displayed for the specified pane.

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

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