add method

add

Adds a textbox to the collection.

Returns

TextBox object index.

def add(self, upper_left_row, upper_left_column, height, width):
    ...
ParameterTypeDescription
upper_left_rowintUpper left row index.
upper_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