add_group_box method

add_group_box

Adds a GroupBox to the worksheet.

Returns

A GroupBox object.

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

Example


# add a group box
groupBox = shapes.add_group_box(1, 0, 1, 0, 100, 50)

See Also