Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / IChart Interface / AddPictureInPixel Method / AddPictureInPixel(String,Double,Double,Double,Double) Method
The file from which the object is to be created
The distance from the left edge of the picture to the left edge of the chart area, in pixels.
The distance from the top edge of the picture to the top edge of the chart area, in pixels.
The width of the picture, in pixels.
The height of the picture, in pixels.
In This Topic
    AddPictureInPixel(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 filename,
       System.double left,
       System.double top,
       System.double width,
       System.double height
    )

    Parameters

    filename
    The file from which the object is to be created
    left
    The distance from the left edge of the picture to the left edge of the chart area, in pixels.
    top
    The distance from the top edge of the picture to the top edge of the chart area, in pixels.
    width
    The width of the picture, in pixels.
    height
    The height of the picture, in pixels.

    Return Value

    The IShape object.
    See Also