add_auto_shape_in_chart method
add_auto_shape_in_chart(self, type, top, left, height, width)
Adds a AutoShape to the chart.
Returns
Returns a shape object.
def add_auto_shape_in_chart(self, type, top, left, height, width):
...
| Parameter | Type | Description |
|---|---|---|
| type | aspose.cells.drawing.AutoShapeType | Auto shape type. |
| top | int | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
| left | int | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
| height | int | Represents the height of textbox, in units of 1/4000 of the chart area. |
| width | int | Represents the width of textbox, in units of 1/4000 of the chart area. |
Remarks
The type could not be Chart/Comment/Picture/OleObject/Polygon/DialogBox
See Also
- module
aspose.cells.drawing - class
Shape - class
ShapeCollection