Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IShapes Interface / addConnector Method / addConnector(String,ConnectorType,double,double,double,double) Method
The connector name
The connector type to add.
The horizontal position (in points) of the connector's startingpoint relative to the upper-left corner of the document.
The vertical position (in points) of the connector's startingpoint relative to the upper-left corner of the document.
The horizontal position (in points) of the connector's end pointrelative to the upper-left corner of the document.
The veritcal position (in points) of the connector's end pointrelative to the upper-left corner of the document.
In This Topic
    addConnector(String,ConnectorType,double,double,double,double) Method
    In This Topic
    Creates a connector. Returns the IShape object that represents thenew connector.
    Syntax
    IShape addConnector( 
       java.lang.String name,
       ConnectorType type,
       double beginX,
       double beginY,
       double endX,
       double endY
    )

    Parameters

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

    Return Value

    The IShape object.
    See Also