ConnectorFormat.EndDisconnect Method
Publisher Developer Reference |
Detaches the end of the specified connector from the shape to which it is attached.
Syntax
expression.EndDisconnect
expression A variable that represents a ConnectorFormat object.
Remarks
This method doesn't alter the size or position of the connector; the end of the connector remains positioned at a connection site but is no longer connected.
Use the BeginDisconnect method to detach the beginning of the connector from a shape.
Example
This example adds two rectangles to the first page in the active publication, attaches them with a connector, automatically reroutes the connector along the shortest path, and then detaches the connector from the rectangles.
Visual Basic for Applications |
---|
|
See Also