Page.SplitConnector method (Visio)

Splits the specified connector with the specified shape. Returns the new duplicated connector.

Syntax

expression. SplitConnector( _ConnectorToSplit_ , _Shape_ )

expression A variable that represents a Page object.

Parameters

Name Required/Optional Data type Description
ConnectorToSplit Required Shape The connector to split. Must be a routable one-dimensional (1D) connector.
Shape Required Shape The shape to use to split the connector. Must be a two-dimensional (2D) shape.

Return value

Shape

Remarks

When you call SplitConnector, Microsoft Visio duplicates the connector (except for text), positions the shape automatically, and glues the shape to the two resulting connectors.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.