add method

add(self, top_row, left_column, height, width)

Adds a textbox to the collection.

Returns

TextBox object index.


def add(self, top_row, left_column, height, width):
    ...
ParameterTypeDescription
top_rowintUpper left row index.
left_columnintUpper left column index.
heightintHeight of textbox, in unit of pixel.
widthintWidth of textbox, in unit of pixel.

Example


# add a TextBox
index2 = textBoxCollection.add(1, 1, 50, 100)

See Also