[]
Creates a connector.
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
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. |
Type | Description |
---|---|
IShape | The new connector in a worksheet. |
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.