var instance = new GC.Spread.Sheets.Shapes.ShapeCollection(sheet); var value; // Type: ConnectorShape value = instance.addConnector(name, connectorType, beginX, beginY, endX, endY);
function addConnector( name : string, connectorType : ConnectorType, beginX : number, beginY : number, endX : number, endY : number ) : ConnectorShape;
Parameters
- name
- The name of the shape. If leave blank an unique name will be generated.
- connectorType
- The type of the connector.
- beginX
- The x location of the start point for the connector shape.
- beginY
- The y location of the start point for the connector shape.
- endX
- The x location of the end point for the connector shape.
- endY
- The y location of the end point for the connector shape.