Table of contents
TOC
Collapse the table of content
Expand the table of content

Selection.UpdateAlignmentBox Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Updates the alignment box for a shape.

Syntax

expression . UpdateAlignmentBox

expression A variable that represents a Selection object.

Return Value

Nothing

Remarks

The UpdateAlignmentBox method alters the width and height of a shape, often a group. For example, after you move a shape in a group, the shape may be outside the group's alignment box. The UpdateAlignmentBox method updates the alignment box so that it encloses all the shapes in the group.

Note Many shapes are designed so that their alignment boxes don't coincide with their geometric extents. Using the UpdateAlignmentBox method on such shapes defeats the intentions of the shape designer.

© 2017 Microsoft