Share via


CenterDrawing Method [Visio 2003 SDK Documentation]

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

object**.CenterDrawing**

object     Required. An expression that returns a Page, Master, or Shape object that contains the shapes to center.

Version added

4.0

Remarks

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

Applies to | Master object | Page object | Shape object | Shapes collection