Draws a smart connector. Returns a Shape object that corresponds to the created shape.
Applies to: Page object, Shape object
[[Set] shapeRet =] object.DrawSmartConnector ( xBegin, yBegin, xEnd, yEnd ) |
The DrawSmartConnector method syntax has these parts:
Part | Description |
object | Required. An expression that returns an object in the Applies to list. |
xBegin | Required. An expression that returns a Double value. The X-coordinate of the smart connector's begin point. |
yBegin | Required. An expression that returns a Double value. The Y-coordinate of the smart connector's begin point. |
xEnd | Required. An expression that returns a Double value. The X-coordinate of the smart connector's end point. |
yEnd | Required. An expression that returns a Double value. The Y-coordinate of the smart connector's end point. |
shapeRet | Optional. A Shape type variable. |
If object is a page or a group, the DrawSmartConnector method creates the new smart connector inside this group / page, and then tries to connect the created smart connector. If the endpoints of the smart connector coincide with the default or user-defined connection points on any shapes, the connector is connected to these points. For shapes of other types the DrawSmartConnector method doesn't build anything and always returns Nothing.
The coordinates of the points are specified in the coordinate system of the shape, group or page, object is associated with. The coordinates are measured in internal units (InternalUnit).
See Also |
DrawConnector method |