[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnected

BeginConnected Property

BeginConnected

Gets whether the connector is connected to a shape (true if the beginning of the specified connector is connected to a shape).

Use this property to determine whether the beginning of the connector is currently attached to a shape. To connect the beginning of a connector, use BeginConnect(IShape, int).

Declaration
bool BeginConnected { get; }
ReadOnly Property BeginConnected As Boolean
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);
bool beginConnected = connector.ConnectorFormat.BeginConnected;