Aspose::Cells::Drawing::ShapeCollection::AddAutoShapeInChart method

ShapeCollection::AddAutoShapeInChart method

Adds a AutoShape to the chart.

Shape Aspose::Cells::Drawing::ShapeCollection::AddAutoShapeInChart(AutoShapeType type, int32_t top, int32_t left, int32_t height, int32_t width)
ParameterTypeDescription
typeAutoShapeTypeAuto shape type.
topint32_tRepresents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area.
leftint32_tRepresents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area.
heightint32_tRepresents the height of textbox, in units of 1/4000 of the chart area.
widthint32_tRepresents the width of textbox, in units of 1/4000 of the chart area.

ReturnValue

Returns a shape object.

Remarks

The type could not be Chart/Comment/Picture/OleObject/Polygon/DialogBox

See Also