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

Shape.MoveToSubprocess Method (Visio)

office 365 dev account|Last Updated: 10/19/2017
2 Contributors

Moves the shape to the specified page and drops a replacement shape on the source page, and then links it to the target page. Returns the selection of moved shapes on the target page.


expression. MoveToSubprocess (Page, ObjectToDrop, NewShape)

expression A variable that represents a Shape object.


NameRequired/OptionalData TypeDescription
PageRequiredPageThe sub-process page to which the shape should be moved. You cannot pass the current page.
ObjectToDropRequired[UNKNOWN]The replacement shape to drop.
NewShapeOptionalShapeOut parameter. Returns the shape that is linked to the new page.

Return value



ObjectToDrop is typically a Visio object, such as a Master or MasterShortcut object. However, it can be any OLE object that provides an IDataObject interface. If ObjectToDrop is null, Visio drops a default shape.

© 2018 Microsoft