ConnectorFormat.BeginConnectionSite Property
Publisher Developer Reference |
Returns a Long indicating the connection site to which the beginning of a connector is connected. Read-only.
Syntax
expression.BeginConnectionSite
expression A variable that represents a ConnectorFormat object.
Return Value
Long
Remarks
If the beginning of the specified connector isn't attached to a shape, this property generates an error.
Use the EndConnectionSite property to return the site to which the end of a connector is connected.
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 beginning of the new connector will be attached to the same connection site as the beginning of the connector named Conn1To2, and the end of the new connector will be attached to connection site one on the new rectangle.
Visual Basic for Applications |
---|
|
See Also