Expand Minimize
This topic has not yet been rated - Rate this topic

Shape.Layout Method (Visio)

Published: July 16, 2012

Lays out the shapes or reroutes the connectors (or both) for the page, master, group, or selection.

Version Added: Visio 4.5

expression .Layout

expression A variable that represents a Shape object.

Return Value

Nothing

Using the Layout method is equivalent to clicking Re-Layout Page in the Layout group on the Design tab and then clicking More Layout Options and configuring options in the Configure Layout dialog box.

Behavior of the Layout method can be influenced by setting the formulas or results of cells in the Page Layout and Shape Layout ShapeSheet sections of the page, master, or group to be laid out. You can infer how these cells influence the behavior of the Layout method by examining the effect of various Configure Layout dialog box options on the values of these cells.

To lay out a subset of the shapes of a page, master, or group, establish a Selection object in which the shapes to be laid out are selected, and then call the Layout method. If the Layout method is performed on a Selection object and the object has no shapes selected, all shapes in the page, master, or group of the selection are laid out.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.