Documents for Excel .NET Edition | GCDocuments
GrapeCity.Documents.Excel.Drawing Namespace / IChart Interface / AddPicture Method / AddPicture(Stream,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 points.
The distance from the top edge of the picture to the top edge of the chart area, in points.
The width of the picture, in points.
The height of the picture, in points.
In This Topic
    AddPicture(Stream,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 AddPicture( 
       System.IO.Stream stream,
       ImageType type,
       System.double left,
       System.double top,
       System.double width,
       System.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 points.
    top
    The distance from the top edge of the picture to the top edge of the chart area, in points.
    width
    The width of the picture, in points.
    height
    The height of the picture, in points.

    Return Value

    The IShapeThe object.
    See Also