[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.EndConnectionSite

EndConnectionSite Property

EndConnectionSite

Returns an integer that specifies the connection site that the end of a connector is connected to.

Use this property after EndConnect(IShape, int) to retrieve the connection site index on the shape attached to the end of the connector.

Declaration
int EndConnectionSite { get; }
ReadOnly Property EndConnectionSite As Integer
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.EndConnect(connectedShape, 1);
int endConnectionSite = connector.ConnectorFormat.EndConnectionSite;