ShapeCollection.AddAutoShapeInChart
ShapeCollection.AddAutoShapeInChart method
Adds a AutoShape to the chart.
public Shape AddAutoShapeInChart(AutoShapeType type, int top, int left, int height, int width)
Parameter | Type | Description |
---|---|---|
type | AutoShapeType | Auto shape type. |
top | Int32 | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
left | Int32 | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
height | Int32 | Represents the height of textbox, in units of 1/4000 of the chart area. |
width | Int32 | Represents the width of textbox, in units of 1/4000 of the chart area. |
Return Value
Returns a shape object.
Remarks
The type could not be Chart/Comment/Picture/OleObject/Polygon/DialogBox
See Also
- class Shape
- enum AutoShapeType
- class ShapeCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells