Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IShapes Interface / addShape Method / addShape(AutoShapeType,IRange) Method
Specifies the type of AutoShape to create.
The target range of the current sheet.
In This Topic
    addShape(AutoShapeType,IRange) Method
    In This Topic
    Returns the IShape object that represents the new AutoShapeat the specified range on the current sheet.

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

    Syntax

    Parameters

    type
    Specifies the type of AutoShape to create.
    range
    The target range of the current sheet.

    Return Value

    The IShape object.
    See Also