[]
Creates a connector. Returns the IShape object that represents the new connector.
IShape AddConnectorInPixel(ConnectorType type, double beginX, double beginY, double endX, double endY)
| Type | Name | Description |
|---|---|---|
| ConnectorType | type | The connector type to add. |
| double | beginX | The horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document. |
| double | beginY | The vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document. |
| double | endX | The horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document. |
| double | endY | The veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document. |
| Type | Description |
|---|---|
| IShape | The IShape object. |
Creates a connector. Returns the IShape object that represents the new connector.
IShape AddConnectorInPixel(string name, ConnectorType type, double beginX, double beginY, double endX, double endY)
| Type | Name | Description |
|---|---|---|
| string | name | The connector name. |
| ConnectorType | type | The connector type to add. |
| double | beginX | The horizontal position (in pixels) of the connector's starting point relative to the upper-left corner of the document. |
| double | beginY | The vertical position (in pixels) of the connector's starting point relative to the upper-left corner of the document. |
| double | endX | The horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document. |
| double | endY | The veritcal position (in pixels) of the connector's end point relative to the upper-left corner of the document. |
| Type | Description |
|---|---|
| IShape | The IShape object. |