Düzenle

Aracılığıyla paylaş


Shape.MoveToSubprocess method (Visio)

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.

Syntax

expression.MoveToSubprocess (Page, ObjectToDrop, NewShape)

expression A variable that represents a Shape object.

Parameters

Name Required/Optional Data type Description
Page Required Page The sub-process page to which the shape should be moved. You cannot pass the current page.
ObjectToDrop Required [UNKNOWN] The replacement shape to drop.
NewShape Optional Shape Out parameter. Returns the shape that is linked to the new page.

Return value

Selection

Remarks

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.

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.