
## FormatTxtCollection class

FormatTxt collection which contains the text of a shape.

## Methods

| Name | Description |
| --- | --- |
| [add()](#add) | Add the FormatTxt object in the collection. |
| [clear()](#clear) |  |
| [get()](#get) |  |
| [getCount()](#getcount) |  |
| [getText()](#gettext) | Contains the text of a shape with formating. |
| [iterator()](#iterator) | Reserved for internal use. |
| [remove()](#remove) | Remove the FormatTxt object from the collection. |
| [removeAt()](#removeat) |  |
| [setWholeText(text)](#setwholetext) | Set the text of a shape without formating. |

### add() {#add}

Add the FormatTxt object in the collection.

**Returns:** Number — `Number`

### clear() {#clear}

### get() {#get}

### getCount() {#getcount}

### getText() {#gettext}

Contains the text of a shape with formating.

### iterator() {#iterator}

Reserved for internal use.

### remove() {#remove}

Remove the FormatTxt object from the collection.

### removeAt() {#removeat}

### setWholeText(text) {#setwholetext}

Set the text of a shape without formating.

| Parameter | Type | Description |
| --- | --- | --- |
| text | String |  |
