GrapeCity.Documents.Excel.Drawing Namespace / IChart Interface / AddShape Method
Specifies the type of AutoShape to create.
The distance from the left edge of the AutoShape's boundary box to the left edge of the chart area, in points.
The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in points.
The width of the AutoShape's boundary box, in points.
The height of the AutoShape's boundary box, in points.
In This Topic
    AddShape Method (IChart)
    In This Topic
    Returns the IShape object that represents the new AutoShape in the chart.
    Syntax
    IShape AddShape( 
       AutoShapeType type,
       System.double left,
       System.double top,
       System.double width,
       System.double height
    )

    Parameters

    type
    Specifies the type of AutoShape to create.
    left
    The distance from the left edge of the AutoShape's boundary box to the left edge of the chart area, in points.
    top
    The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in points.
    width
    The width of the AutoShape's boundary box, in points.
    height
    The height of the AutoShape's boundary box, in points.

    Return Value

    The IShape object.
    See Also