Share via


ShowPageOutline Property [Visio 2003 SDK Documentation]

Determines whether the drawing page outline is displayed in the Microsoft Office Visio drawing window.

boolRet = object.ShowPageOutline

object.ShowPageOutline = boolValue

boolRet    Boolean. True if the page outline is displayed in the active window; False if it is not.

object    Required. An expression that returns a Window object.

boolValue    Required Boolean. True to display the page in the active window; False to hide it.

Version added

2003

Remarks

The default value is True (the page outline is displayed), which is also the default Visio behavior. You can use the ShowPageOutline property to prevent display of the page outline in any Visio drawing window, including page, master, and group windows. Attempting to set ShowPageOutline for other windows, including stencil windows, ShapeSheet windows, and icon windows, will throw an exception.

Setting ShowPageOutline to False does not hide the page grid. To hide the grid, use the Window.ShowGrid property.

The ShowPageOutline property setting is valid only for a given window at run time, and is not persisted (saved) in either the Visio document or the Windows registry.

Applies to | Window object

See Also | ShowConnectPoints property | ShowGrid property | ShowGuides property | ShowPageBreaks property | ShowPageTabs property | ShowRulers property | ShowScrollBars property | ShowSmartTags property | ShowStatusBar property | ShowToolbar property