[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.EndConnected

EndConnected Property

EndConnected

Returns whether the end of the connector is connected to a shape.

Returns true if the end of the specified connector is connected to a shape. Use this property after EndConnect(IShape, int) to determine whether the connector's end point is currently attached.

Declaration
bool EndConnected { get; }
ReadOnly Property EndConnected As Boolean
Examples
IShape connectedShape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 200, 20, 100, 60);
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 70, 50, 180, 50);
connector.ConnectorFormat.EndConnect(connectedShape, 1);
bool endConnected = connector.ConnectorFormat.EndConnected;