add_oval method

add_oval

Adds a Oval to the worksheet.

Returns

A Oval object.

def add_oval(self, upper_left_row, top, upper_left_column, left, height, width):
    ...
ParameterTypeDescription
upper_left_rowintUpper left row index.
topintRepresents the vertical offset of Oval from its left row, in unit of pixel.
upper_left_columnintUpper left column index.
leftintRepresents the horizontal offset of Oval from its left column, in unit of pixel.
heightintRepresents the height of Oval, in unit of pixel.
widthintRepresents the width of Oval, in unit of pixel.

Example


# add a oval
oval = shapes.add_oval(1, 0, 1, 0, 50, 50)

See Also