TextParagraphCollection

TextParagraphCollection class

Represents all text paragraph.

class TextParagraphCollection;

Properties

PropertyTypeDescription
countnumberReadonly. Gets the count of text paragraphs.

Methods

MethodDescription
get(number)Gets the TextParagraph object at specific index.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the count of text paragraphs.
getEnumerator()Gets the enumerator of the paragraphs.
isNull()Checks whether the implementation object is null.

count

Readonly. Gets the count of text paragraphs.

count : number;

get(number)

Gets the TextParagraph object at specific index.

get(index: number) : TextParagraph;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

TextParagraph

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the count of text paragraphs.

getCount() : number;

getEnumerator()

Gets the enumerator of the paragraphs.

getEnumerator() : TextParagraphEnumerator;

Returns

TextParagraphEnumerator

isNull()

Checks whether the implementation object is null.

isNull() : boolean;