add方法

add(self, upper_left_row, upper_left_column, height, width)

将文本框添加到集合中。

返回

TextBox 对象索引。


def add(self, upper_left_row, upper_left_column, height, width):
    ...
范围类型描述
upper_left_rowint左上行索引。
upper_left_columnint左上角的列索引。
heightint文本框的高度,以像素为单位。
widthint文本框的宽度,以像素为单位。

例子


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

也可以看看