Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Shape.MoveToSubprocess Method (Visio)

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

Version Information

Version Added: Visio 2010

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

Remarks

ObjectToDrop 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.