Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IShapes Interface / AddConnector Method / AddConnector(String,ConnectorType,IRange) Method
The connector name
The connector type to add.
The target range of the current sheet.
In This Topic
    AddConnector(String,ConnectorType,IRange) Method
    In This Topic
    Creates a connector at the specified range on the current sheet.

    The sheet of targetRange and the sheet of the shape being added must be the same sheet.

    Returns the IShape object that represents the new connector.
    Syntax
    IShape AddConnector( 
       System.string name,
       ConnectorType type,
       IRange targetRange
    )

    Parameters

    name
    The connector name
    type
    The connector type to add.
    targetRange
    The target range of the current sheet.

    Return Value

    The IShape object.
    See Also