[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginDisconnect

BeginDisconnect Method

BeginDisconnect()

Detaches the beginning of the specified connector from the shape it’s attached to.

Use this method to remove the connection between the beginning point of a connector and the connected shape.

Declaration
void BeginDisconnect()
Sub BeginDisconnect()
Examples
IShape connectedShape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 70, 50, 180, 50);
connector.ConnectorFormat.BeginConnect(connectedShape, 1);
connector.ConnectorFormat.BeginDisconnect();