Master.CenterDrawing method (Visio)
Centers a page's, master's, or group's shapes with respect to the extent of the page, master, or group. .
Syntax
expression. CenterDrawing
expression A variable that represents a Master object.
Return value
Nothing
Remarks
Centering shapes does not change their position relative to each other.
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.