Aspose::Cells::Drawing::ShapeCollection::AddShapeInChart method
Contents
[
Hide
]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)
| Parameter | Type | Description |
|---|---|---|
| type | MsoDrawingType | The drawing type. |
| placement | PlacementType | the placement type. |
| left | int32_t | In unit of 1/4000 chart area width. |
| top | int32_t | In unit of 1/4000 chart area height. |
| right | int32_t | In unit of 1/4000 chart area width. |
| bottom | int32_t | In unit of 1/4000 chart area height. |
| imageData | const Vector <uint8_t>& | If the shape is not a picture or ole object,imageData should be null. |
See Also
- Class Shape
- Enum MsoDrawingType
- Enum PlacementType
- Class Vector
- Class ShapeCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++
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)
| Parameter | Type | Description |
|---|---|---|
| type | MsoDrawingType | The drawing type. |
| placement | PlacementType | the placement type. |
| left | int32_t | In unit of 1/4000 chart area width. |
| top | int32_t | In unit of 1/4000 chart area height. |
| right | int32_t | In unit of 1/4000 chart area width. |
| bottom | int32_t | In unit of 1/4000 chart area height. |
See Also
- Class Shape
- Enum MsoDrawingType
- Enum PlacementType
- Class Vector
- Class ShapeCollection
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++