Partager via


Page.SplitConnector Method (Visio)

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

Version Information

Version Added: Visio 2010

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 (1-D) connector.

Shape

Required

Shape

The shape to use to split the connector. Must be a two-dimensional (2-D) 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.