add method
add(self, upper_left_row, upper_left_column, height, width)
Adds a textbox to the collection.
Returns
TextBox object index.
def add(self, upper_left_row, upper_left_column, height, width):
...
| Parameter | Type | Description |
|---|---|---|
| upper_left_row | int | Upper left row index. |
| upper_left_column | int | Upper left column index. |
| height | int | Height of textbox, in unit of pixel. |
| width | int | Width of textbox, in unit of pixel. |
Example
# add a TextBox
index2 = textBoxCollection.add(1, 1, 50, 100)
See Also
- module
aspose.cells.drawing - class
TextBox - class
TextBoxCollection