[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnectionSite

BeginConnectionSite Property

BeginConnectionSite

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

Use this property to get the connection site index at the beginning of a connector after the connection is established by BeginConnect(IShape, int).

Declaration
int BeginConnectionSite { get; }
ReadOnly Property BeginConnectionSite 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.BeginConnect(connectedShape, 1);
int beginConnectionSite = connector.ConnectorFormat.BeginConnectionSite;