Pane.DisplayVerticalRuler Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
True if a vertical ruler is displayed for the specified pane. Read/write Boolean.
public:
property bool DisplayVerticalRuler { bool get(); void set(bool value); };
public bool DisplayVerticalRuler { get; set; }
member this.DisplayVerticalRuler : bool with get, set
Public Property DisplayVerticalRuler As Boolean
Property Value
Examples
This example switches the active pane to print layout view and displays the horizontal and vertical rulers.
<span class="label">With ActiveDocument.ActiveWindow.ActivePane
.View.Type = wdPrintView
.DisplayRulers = True
.</span>
<span class="label">DisplayVerticalRuler</span>
<span class="label">= TrueEnd With</span>
Remarks
A vertical ruler appears only in print layout view, and only if the DisplayRulers property is set to True.