Modifica

Condividi tramite


Pane.DisplayVerticalRuler Property

Definition

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.

Applies to