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

Selection.MoveToSubprocess Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Moves the selection to the specified page, and drops a replacement shape on the source page and 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 Selection object.

Parameters

NameRequired/OptionalData TypeDescription
PageRequiredPageThe subprocess page to which the selection 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

Selection

Remarks

The ObjectToDrop parameter is typically a Microsoft 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.

© 2017 Microsoft