[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.EndConnectedShape

EndConnectedShape Property

EndConnectedShape

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

Use this property to retrieve the shape currently connected to the end of a connector after calling EndConnect(IShape, int).

Declaration
IShape EndConnectedShape { get; }
ReadOnly Property EndConnectedShape 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.EndConnect(connectedShape, 1);
IShape endConnectedShape = connector.ConnectorFormat.EndConnectedShape;