[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapes.AddConnectorToCell

AddConnectorToCell Method

AddConnectorToCell(ConnectorType, int, int, int, int)

Creates a connector.

Declaration
IShape AddConnectorToCell(ConnectorType type, int row, int column, int row2, int column2)
Function AddConnectorToCell(type As ConnectorType, row As Integer, column As Integer, row2 As Integer, column2 As Integer) As IShape
Parameters
Type Name Description
ConnectorType type

The connector type to add.

int row

The row index of the upper-left corner of the shape's bounding box.

int column

The column index of the upper-left corner of the shape's bounding box.

int row2

The row index of the lower-right corner of the shape's bounding box.

int column2

The column index of the lower-right corner of the shape's bounding box.

Returns
Type Description
IShape

The new connector in a worksheet.

Remarks

When a connector is added, it's not connected to anything. Use the BeginConnect and EndConnect methods to attach the beginning and end of a connector to other shapes in the document.