AddMathShape()

IShapeCollection::AddMathShape(float, float, float, float) method

Creates a new rectangle auto shape to host mathematical content and adds it to the end of the shape collection.

virtual System::SharedPtr<IAutoShape> Aspose::Slides::IShapeCollection::AddMathShape(float x, float y, float width, float height)=0

Arguments

ParameterTypeDescription
xfloatThe x-coordinate of the shape’s frame, in points.
yfloatThe y-coordinate of the shape’s frame, in points.
widthfloatThe width of the shape’s frame, in points.
heightfloatThe height of the shape’s frame, in points.

Return Value

The newly created IAutoShape.

See Also