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)
Parameter Type Description
x Single The X-coordinate for a left side of shape’s frame.
y Single The Y-coordinate for a top side of shape’s frame.
width Single The width of shape’s frame.
height Single The height of shape’s frame.

Return Value

Created AutoShape object.

See Also