
## TextParagraphCollection class

Represents all text paragraph.

```javascript
class TextParagraphCollection implements Iterable<TextParagraph>;
```


## Properties

| Property | Type | Description |
| --- | --- | --- |
| [count](#count--)| number | Readonly. Gets the count of text paragraphs. |

## Methods

| Method | Description |
| --- | --- |
| [get(number)](#get-number-)| Gets the [TextParagraph](../textparagraph/) object at specific index. |
| [getCount()](#getCount--)| <b>@deprecated.</b> Please use the 'count' property instead. Gets the count of text paragraphs. |
| [getEnumerator()](#getEnumerator--)| Gets the enumerator of the paragraphs. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |

## \[Symbol.iterator\](): Iterator\<TextParagraph\>

Returns an iterator over the items in the collection. Enables use of `for...of`, spread syntax, and `Array.from()`.



### count {#count--}

Readonly. Gets the count of text paragraphs.

```javascript
count : number;
```


### get(number) {#get-number-}

Gets the [TextParagraph](../textparagraph/) object at specific index.

```javascript
get(index: number) : TextParagraph;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | number | The index. |

**Returns**

[TextParagraph](../textparagraph/)

### getCount() {#getCount--}

<b>@deprecated.</b> Please use the 'count' property instead. Gets the count of text paragraphs.

```javascript
getCount() : number;
```


### getEnumerator() {#getEnumerator--}

Gets the enumerator of the paragraphs.

```javascript
getEnumerator() : TextParagraphEnumerator;
```


**Returns**

[TextParagraphEnumerator](../textparagraphenumerator/)

### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



