[]
Creates a picture from an existing file. Returns the IShape object that represents the new picture.
IShape AddPicture(string filename, double left, double top, double width, double height)
Function AddPicture(filename As String, left As Double, top As Double, width As Double, height As Double) As IShape
Type | Name | Description |
---|---|---|
string | filename | The file from which the object is to be created |
double | left | The distance from the left edge of the picture to the left edge of the chart area, in points. |
double | top | The distance from the top edge of the picture to the top edge of the chart area, in points. |
double | width | The width of the picture, in points. |
double | height | The height of the picture, in points. |
Creates a picture from an existing stream. Returns the IShape object that represents the new picture.
IShape AddPicture(Stream stream, ImageType type, double left, double top, double width, double height)
Function AddPicture(stream As Stream, type As ImageType, left As Double, top As Double, width As Double, height As Double) As IShape
Type | Name | Description |
---|---|---|
Stream | stream | The stream from which the object is to be created. |
ImageType | type | Specifies the type of picture to create. |
double | left | The distance from the left edge of the picture to the left edge of the chart area, in points. |
double | top | The distance from the top edge of the picture to the top edge of the chart area, in points. |
double | width | The width of the picture, in points. |
double | height | The height of the picture, in points. |