Aspose::Cells::Drawing::ShapeCollection::AddShapeInChart method

ShapeCollection::AddShapeInChart(MsoDrawingType, PlacementType, int32_t, int32_t, int32_t, int32_t, const Vector <uint8_t>&) method

Add a shape to chart .All unit is 1/4000 of chart area.

Shape Aspose::Cells::Drawing::ShapeCollection::AddShapeInChart(MsoDrawingType type, PlacementType placement, int32_t left, int32_t top, int32_t right, int32_t bottom, const Vector<uint8_t> &imageData)
ParameterTypeDescription
typeMsoDrawingTypeThe drawing type.
placementPlacementTypethe placement type.
leftint32_tIn unit of 1/4000 chart area width.
topint32_tIn unit of 1/4000 chart area height.
rightint32_tIn unit of 1/4000 chart area width.
bottomint32_tIn unit of 1/4000 chart area height.
imageDataconst Vector <uint8_t>&If the shape is not a picture or ole object,imageData should be null.

See Also

ShapeCollection::AddShapeInChart(MsoDrawingType, PlacementType, int32_t, int32_t, int32_t, int32_t) method

Add a shape to chart .All unit is 1/4000 of chart area.

Shape Aspose::Cells::Drawing::ShapeCollection::AddShapeInChart(MsoDrawingType type, PlacementType placement, int32_t left, int32_t top, int32_t right, int32_t bottom)
ParameterTypeDescription
typeMsoDrawingTypeThe drawing type.
placementPlacementTypethe placement type.
leftint32_tIn unit of 1/4000 chart area width.
topint32_tIn unit of 1/4000 chart area height.
rightint32_tIn unit of 1/4000 chart area width.
bottomint32_tIn unit of 1/4000 chart area height.

See Also