ConnectorFormat.EndConnectedShape Property
Publisher Developer Reference |
Returns a Shape object that represents the shape to which the end of the specified connector is attached.
Syntax
expression.EndConnectedShape
expression A variable that represents an ConnectorFormat object.
Return Value
Shape
Remarks
If the end of the specified connector isn't attached to a shape, an error occurs.
Use the BeginConnectedShape property to return the shape attached to the beginning of a connector.
Example
This example assumes that the first page in the active publication already contains two shapes attached by a connector named Conn1To2. The code adds a rectangle and a connector to the first page. The end of the new connector will be attached to the same connection site as the end of the connector named Conn1To2, and the beginning of the new connector will be attached to connection site one on the new rectangle.
Visual Basic for Applications |
---|
|
See Also