Aspose::Cells::Drawing::ShapeCollection::AddPictureInChart method

ShapeCollection::AddPictureInChart method

Adds a picture to the chart.

Aspose::Cells::Drawing::Picture Aspose::Cells::Drawing::ShapeCollection::AddPictureInChart(int32_t top, int32_t left, const Vector<uint8_t> &stream, int32_t widthScale, int32_t heightScale)
ParameterTypeDescription
topint32_tRepresents the vertical offset of shape from the upper left corner in units of 1/4000 of the chart area.
leftint32_tRepresents the horizontal offset of shape from the upper left corner in units of 1/4000 of the chart area.
streamconst Vector <uint8_t>&Stream object which contains the image data.
widthScaleint32_tScale of image width, a percentage.
heightScaleint32_tScale of image height, a percentage.

ReturnValue

Returns a Picture object.

See Also