Documents for Excel, Java Edition Documentation
com.grapecity.documents.excel.drawing Package / IChart Interface / addShapeInPixel 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 pixels.
The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in pixels.
The width of the AutoShape's boundary box, in pixels.
The height of the AutoShape's boundary box, in pixels.
In This Topic
    addShapeInPixel Method
    In This Topic
    Returns the IShape object that represents the new AutoShape in the chart.
    Syntax
    IShape addShapeInPixel( 
       AutoShapeType type,
       double left,
       double top,
       double width,
       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 pixels.
    top
    The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in pixels.
    width
    The width of the AutoShape's boundary box, in pixels.
    height
    The height of the AutoShape's boundary box, in pixels.

    Return Value

    The IShapeThe object.
    See Also