class
TextBoxCollection
Source: aspose.
Encapsulates a collection of TextBox objects.
Methods
add(upperLeftRow, upperLeftColumn, height, width) → Number
Adds a textbox to the collection.
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
|
upperLeftRow |
Number |
|
Upper left row index. |
|
upperLeftColumn |
Number |
|
Upper left column index. |
|
height |
Number |
|
Height of textbox, in unit of pixel. |
|
width |
Number |
|
Width of textbox, in unit of pixel. |
- Returns
-
NumberTextBox object index.
add()
Reserved for internal use.
clear()
Clear all text boxes.
contains()
Reserved for internal use.
get(index) → TextBox
Gets the TextBox element at the specified index.
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
index |
Number |
|
The zero based index of the element. |
- Returns
-
TextBoxThe element at the specified index.
get(name) → TextBox
Gets the TextBox element by the name.
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
String |
|
The name of the text box. |
- Returns
get()
Reserved for internal use.
getCount()
indexOf()
Reserved for internal use.
iterator()
removeAt(index)
Remove a text box from the file.
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
index |
Number |
|
The text box index. |