Pagination
The Pagination object that is accessed via the section
object (see section) contains the total page count, sheet count and start/end page numbers for a single section. These properties are read-only and are only available in Post Pagination Scripts (see Post Pagination Scripts).
For the total page and sheet count of all Print sections together use the merge
object's Pagination (see also: merge).
For information about where an element is located and the counts of pages and sheets in a page bundle - a group of sections in which the page numbering continues - use info().
Field |
Type |
Description |
---|---|---|
pageCount |
Number |
The total number of pages in this section. |
pageEnd |
Number |
The index (1-based) of the last page in this section. |
pageStart |
Number |
The index (1-based) of the first page in this section. |
sheetCount |
Number |
The total number of sheets in this section. |
sheetEnd |
Number |
The index (1-based) of the last sheet in this section. |
sheetStart |
Number |
The index (1-based) of the first sheet in this section. |