ShapeCollection.AddPictureInChart
ShapeCollection.AddPictureInChart method
Adds a picture to the chart.
public Picture AddPictureInChart(int top, int left, Stream stream, int widthScale, int heightScale)
Parameter | Type | Description |
---|---|---|
top | Int32 | Represents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area. |
left | Int32 | Represents the horizontal offset of shape from the upper left corner in units of 1/4000 of the chart area. |
stream | Stream | Stream object which contains the image data. |
widthScale | Int32 | Scale of image width, a percentage. |
heightScale | Int32 | Scale of image height, a percentage. |
Return Value
Returns a Picture object.
See Also
- class Picture
- class ShapeCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells