add_math_shape method
add_math_shape
Creates a new rectangle auto shape to host mathematical content and adds it to the end of the shape collection.
Returns
The newly created IAutoShape.
def add_math_shape(self, x, y, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x-coordinate of the shape’s frame, in points. |
| y | float | The y-coordinate of the shape’s frame, in points. |
| width | float | The width of the shape’s frame, in points. |
| height | float | The height of the shape’s frame, in points. |
Examples
The following example shows how to add Mathematical Equation in PowerPoint Presentation.
See Also
- class
IAutoShape - class
ShapeCollection - module
aspose.slides - library
Aspose.Slides