Window.DisplayRulers Property

Definition

True if rulers are displayed for the specified window or pane.

C#
public bool DisplayRulers { get; set; }

Property Value

Remarks

The DisplayRulers property is equivalent to the Ruler command on the View menu.

Note If DisplayRulers is False, the horizontal and vertical rulers won't be displayed, regardless of the state of the DisplayVerticalRuler property.

Applies to

Product Versions
Word primary interop assembly Latest