Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IShapes Interface / AddShapeInPixel Method / AddShapeInPixel(String,AutoShapeType,Double,Double,Double,Double) Method
The shape name
Specifies the type of AutoShape to create.
The position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
The position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
The width and height of the AutoShape's boundary box, in pixels.
The width and height of the AutoShape's boundary box, in pixels.
In This Topic
    AddShapeInPixel(String,AutoShapeType,Double,Double,Double,Double) Method
    In This Topic
    Returns the IShape object that represents the new AutoShape in a worksheet.
    Syntax
    IShape AddShapeInPixel( 
       System.string name,
       AutoShapeType type,
       System.double left,
       System.double top,
       System.double width,
       System.double height
    )

    Parameters

    name
    The shape name
    type
    Specifies the type of AutoShape to create.
    left
    The position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
    top
    The position (in pixels) of the upper-left corner of the AutoShape's boundary box relative to the upper-left corner of the document.
    width
    The width and height of the AutoShape's boundary box, in pixels.
    height
    The width and height of the AutoShape's boundary box, in pixels.

    Return Value

    The IShape object.
    See Also