Window.ShowRulers Property
Visio Automation Reference |
Determines whether rulers are shown in the drawing window. Read/write.
Version Information
Version Added: Visio 4.5
Syntax
expression.ShowRulers
expression A variable that represents a Window object.
Return Value
Integer
Remarks
Setting the ShowRulers property is the same as clicking Rulers on the View menu.
Example
This Microsoft Visual Basic for Applications (VBA) macro shows how to use the ShowRulers property to switch display of the rulers on and off.
Visual Basic for Applications |
---|
|
See Also