
## TextBoxCollection class

Encapsulates a collection of TextBox objects.

## Methods

| Name | Description |
| --- | --- |
| [add(upperLeftRow, upperLeftColumn, height, width)](#add) | Adds a textbox to the collection. |
| [add()](#add-1) | Reserved for internal use. |
| [clear()](#clear) | Clear all text boxes. |
| [contains()](#contains) | Reserved for internal use. |
| [get(index)](#get) | Gets the TextBox element at the specified index. |
| [get(name)](#get-1) | Gets the TextBox element by the name. |
| [get()](#get-2) | Reserved for internal use. |
| [getCount()](#getcount) |  |
| [indexOf()](#indexof) | Reserved for internal use. |
| [iterator()](#iterator) |  |
| [removeAt(index)](#removeat) | Remove a text box from the file. |

### add(upperLeftRow, upperLeftColumn, height, width) {#add}

Adds a textbox to the collection.

| Parameter | Type | Description |
| --- | --- | --- |
| upperLeftRow |  | Upper left row index. |
| upperLeftColumn |  | Upper left column index. |
| height | Number | Height of textbox, in unit of pixel. |
| width | Number | Width of textbox, in unit of pixel. |

**Returns:** Number — `Number` TextBox object index.

### add() {#add-1}

Reserved for internal use.

### clear() {#clear}

Clear all text boxes.

### contains() {#contains}

Reserved for internal use.

### get(index) {#get}

Gets the TextBox element at the specified index.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The zero based index of the element. |

**Returns:** TextBox — `TextBox` The element at the specified index.

### get(name) {#get-1}

Gets the TextBox element by the name.

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The name of the text box. |

**Returns:** TextBox — `TextBox`

### get() {#get-2}

Reserved for internal use.

### getCount() {#getcount}

### indexOf() {#indexof}

Reserved for internal use.

### iterator() {#iterator}

### removeAt(index) {#removeat}

Remove a text box from the file.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The text box index. |
