Spread.Services Documentation
AddConnector Method
GrapeCity.Documents.Spread.Drawing Namespace > IShapes Interface : AddConnector Method
The connector type to add.
The horizontal position (in points) of the connector's starting point relative to the upper-left corner of the document.
The vertical position (in points) of the connector's starting point relative to the upper-left corner of the document.
The horizontal position (in points) of the connector's end point relative to the upper-left corner of the document.
The veritcal position (in points) of the connector's end point relative to the upper-left corner of the document.
Creates a connector. Returns the IShape object that represents the new connector.
Syntax
IShape AddConnector( 
   ConnectorType type,
   System.float beginX,
   System.float beginY,
   System.float endX,
   System.float endY
)

Parameters

type
The connector type to add.
beginX
The horizontal position (in points) of the connector's starting point relative to the upper-left corner of the document.
beginY
The vertical position (in points) of the connector's starting point relative to the upper-left corner of the document.
endX
The horizontal position (in points) of the connector's end point relative to the upper-left corner of the document.
endY
The veritcal position (in points) of the connector's end point relative to the upper-left corner of the document.

Return Value

The IShape object.
See Also

Reference

IShapes Interface
IShapes Members