A Page object represents a formatted page of a document. Pages are numbered from the beginning to the end of the document beginning with 1. A document has at least one page. Each section of a document can have one or more pages depending on the text that is contained in the section. A section does not have to begin at the top of a page. Therefore more than one section can be on one page. This collection is only available, if the ViewMode has been set to PageView.

Syntax

Page

Introduced: X18.

Methods

Method Description
getBounds Gets the bounding rectangle of the page, in twips, relative to the top of the document.
getFooter Gets the footer of the page.
getHeader Gets the header of the page.
getImage Gets an image of the page's contents as in the specified format in screen resolution.
getLength Gets the number of characters of the page, including the page break character at the end of the page.
getNumber Gets the page's number.
getNumberInSection Gets the page number relative to the beginning of the section the page belongs to.
getSection Gets the number, one-based, of the section the page belongs to.
getStart Gets the number (one-based) of the page's first character.
getTextBounds Gets the bounding rectangle of the page's text, in twips, relative to the top of the document.
select Selects the text of the page.