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 View
Page
Introduced: X18.
Method | Description |
---|---|
get |
Gets the bounding rectangle of the page, in twips, relative to the top of the document. |
get |
Gets the footer of the page. |
get |
Gets the header of the page. |
get |
Gets an image of the page's contents as in the specified format in screen resolution. |
get |
Gets the number of characters of the page, including the page break character at the end of the page. |
get |
Gets the page's number. |
get |
Gets the page number relative to the beginning of the section the page belongs to. |
get |
Gets the number, one-based, of the section the page belongs to. |
get |
Gets the number (one-based) of the page's first character. |
get |
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. |
Learn more about the Javascript: Page Object in the Text Control Blog: