AddMathShape

IShapeCollection.AddMathShape method

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

public IAutoShape AddMathShape(float x, float y, float width, float height)
ParameterTypeDescription
xSingleThe x-coordinate of the shape’s frame, in points.
ySingleThe y-coordinate of the shape’s frame, in points.
widthSingleThe width of the shape’s frame, in points.
heightSingleThe height of the shape’s frame, in points.

Return Value

The newly created IAutoShape.

See Also