[]
Returns the IShape object that represents the new AutoShape in the chart.
IShape AddShape(AutoShapeType type, double left, double top, double width, double height)
Function AddShape(type As AutoShapeType, left As Double, top As Double, width As Double, height As Double) As IShape
Type | Name | Description |
---|---|---|
AutoShapeType | type | Specifies the type of AutoShape to create. |
double | left | The distance from the left edge of the AutoShape's boundary box to the left edge of the chart area, in points. |
double | top | The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in points. |
double | width | The width of the AutoShape's boundary box, in points. |
double | height | The height of the AutoShape's boundary box, in points. |