connect_shapes_via_connector method

connect_shapes_via_connector(shape_from, place_from, shape_to, place_to, connector)

Connect shapes via connector.

def connect_shapes_via_connector(self, shape_from, place_from, shape_to, place_to, connector):
    ...
Parameter Type Description
shape_from Shape The shape where the connector begins Shape.
place_from aspose.diagram.manipulation.ConnectionPointPlace The location on the first shape where connector will be connected ConnectionPointPlace.
shape_to Shape The shape where the connector ends Shape.
place_to aspose.diagram.manipulation.ConnectionPointPlace The location on the second shape where connector will be connected ConnectionPointPlace.
connector Shape The shape with type Dynamic connector Shape.

connect_shapes_via_connector(shape_from_id, place_from, shape_to_id, place_to, connector_id)

Connect shapes via connector.

def connect_shapes_via_connector(self, shape_from_id, place_from, shape_to_id, place_to, connector_id):
    ...
Parameter Type Description
shape_from_id int The ID of shape where the connector begins Shape.
place_from aspose.diagram.manipulation.ConnectionPointPlace The location on the first shape where connector will be connected ConnectionPointPlace.
shape_to_id int The ID of shape where the connector ends Shape.
place_to aspose.diagram.manipulation.ConnectionPointPlace The location on the second shape where connector will be connected ConnectionPointPlace.
connector_id int The ID of shape with type Dynamic connector Shape.

connect_shapes_via_connector(shape_from_id, from_connection_name, shape_to_id, to_connection_name, connector_id)

Connect shapes via connector.

def connect_shapes_via_connector(self, shape_from_id, from_connection_name, shape_to_id, to_connection_name, connector_id):
    ...
Parameter Type Description
shape_from_id int The ID of shape where the connector begins Shape.
from_connection_name str The connection name on the first shape where connector will be connected .
shape_to_id int The ID of shape where the connector ends Shape.
to_connection_name str The connection name on the second shape where connector will be connected .
connector_id int The ID of shape with type Dynamic connector Shape.

See Also