Window.DisplayRulers Property
True if rulers are displayed for the specified window or pane.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property DisplayRulers As Boolean
Get
Set
'Usage
Dim instance As Window
Dim value As Boolean
value = instance.DisplayRulers
instance.DisplayRulers = value
bool DisplayRulers { get; set; }
Property Value
Type: System.Boolean
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.