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):
...
| Parameter | Type | Description |
|---|---|---|
| top_row | int | Upper left row index. |
| 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