Page.CenterDrawing Method

Visio Automation Reference

Centers a page's, master's, or group's shapes with respect to the extent of the page, master, or group. .

Version Information
 Version Added:  Visio 4.0

Syntax

expression.CenterDrawing

expression   A variable that represents a Page object.

Return Value
Nothing

Remarks

Centering shapes does not change their position relative to each other.

See Also