Compartilhar via


Window.DisplayRightRuler Property

Word Developer Reference

True if the vertical ruler appears on the right side of the document window in print layout view. Read/write Boolean.

Syntax

expression.DisplayRightRuler

expression   An expression that returns a Window object.

Remarks

For more information on using Word with right-to-left languages, see Word features for right-to-left languages .

Example

This example sets the active window to print layout view and displays the vertical ruler on the right side.

Visual Basic for Applications
  With ActiveWindow
    .View = wdPrintView
    .DisplayRightRuler = True
End With

See Also