add_math_shape method

add_math_shape

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

Returns

Created AutoShape object.

def add_math_shape(self, x, y, width, height):
    ...
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.

See Also