[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnectedShape

BeginConnectedShape Property

BeginConnectedShape

Returns the IShape object that represents the shape that the beginning of the specified connector is attached to.

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

Declaration
IShape BeginConnectedShape { get; }
ReadOnly Property BeginConnectedShape As IShape
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);
IShape beginConnectedShape = connector.ConnectorFormat.BeginConnectedShape;