Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / 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 (IChart)
    In This Topic
    Returns the IShape object that represents the new AutoShape in a worksheet.
    Syntax
    IShape AddShapeInPixel( 
       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 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 IShape object.
    See Also