AddMathShape()

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

Creates a new AutoShape of the type Rectangle to host mathematical content inside and adds it to the end of the collection.

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

Arguments

ParameterTypeDescription
xfloatThe X-coordinate for a left side of shape’s frame.
yfloatThe Y-coordinate for a top side of shape’s frame.
widthfloatThe width of shape’s frame.
heightfloatThe height of shape’s frame.

Return Value

Created AutoShape object.

See Also