Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IChart Interface / addPictureInPixel Method / addPictureInPixel(InputStream,ImageType,double,double,double,double) Method
The stream from which the object is to be created.
Specifies the type of picture to create.
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(InputStream,ImageType,double,double,double,double) Method
    In This Topic
    Creates a picture from an existing stream. Returns the IShape object that represents the new picture.
    Syntax
    IShape addPictureInPixel( 
       java.io.InputStream stream,
       ImageType type,
       double left,
       double top,
       double width,
       double height
    )

    Parameters

    stream
    The stream from which the object is to be created.
    type
    Specifies the type of picture to create.
    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 IShapeThe object.
    See Also