Contains all pages in a Text Control document or part of the document.

Syntax

PageCollection

Introduced: X18.

Methods

Method Description
elementAt Returns the element at a specified index in the collection.
(Inherited from Collection)
forEach Executes a callback function for each element.
(Inherited from Collection)
getCount Gets the number of elements contained in the collection.
(Inherited from Collection)
getItem Gets the Page containing the current text input position from the collection.
getItemAtTextPosition Gets the page at a certain text input position.

Further Reading

Learn more about the Javascript: PageCollection Object in the Text Control Blog: