AddMathShape

IShapeCollection.AddMathShape method

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

public IAutoShape AddMathShape(float x, float y, float width, float height)
ParameterTypeDescription
xSingleThe X-coordinate for a left side of shape’s frame.
ySingleThe Y-coordinate for a top side of shape’s frame.
widthSingleThe width of shape’s frame.
heightSingleThe height of shape’s frame.

Return Value

Created AutoShape object.

See Also