Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IShapes Interface / AddPictureInPixel Method / AddPictureInPixel(String,String,Double,Double,Double,Double) Method
The picture name
The file from which the object is to be created
The position (in pixels) of the upper-left corner of the picture relative to the upper-left corner of the document.
The position (in pixels) of the upper-left corner of the picture relative to the top of the document.
The width of the picture, in pixels.
The height of the picture, in pixels.
In This Topic
    AddPictureInPixel(String,String,Double,Double,Double,Double) Method
    In This Topic
    Creates a picture from an existing file. Returns the IShape object that represents the new picture.
    Syntax
    IShape AddPictureInPixel( 
       System.string name,
       System.string filename,
       System.double left,
       System.double top,
       System.double width,
       System.double height
    )

    Parameters

    name
    The picture name
    filename
    The file from which the object is to be created
    left
    The position (in pixels) of the upper-left corner of the picture relative to the upper-left corner of the document.
    top
    The position (in pixels) of the upper-left corner of the picture relative to the top of the document.
    width
    The width of the picture, in pixels.
    height
    The height of the picture, in pixels.

    Return Value

    The IShape object.
    See Also