Window.ShowPageOutline property (Visio)

Determines whether the drawing page outline is displayed in the Microsoft Visio drawing window. Read/write.

Syntax

expression. ShowPageOutline

expression A variable that represents a Window object.

Return value

Boolean

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.