Pages
A collection of pages.
Properties
Name Type
Access Description length
Number
readonly
The number of objects in the collection.
Methods
Returns the Page with the specified index.
add(at? , reference? , withProperties? )
→ Page
Creates a new page.
at?
LocationOptions
The location of the new page relative to the reference object or within the document or spread.
reference?
MasterSpread | Page | Spread | Document
The reference object. Note: Required when the at parameter value specifies before or after. Can accept: Page, Spread, MasterSpread or Document.
withProperties?
Object
Initial values for properties of the new Page
Returns any Page in the collection.
Displays the number of elements in the Page.
Returns every Page in the collection.
Returns the first Page in the collection.
Returns the Page with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the Page with the specified ID.
Returns the Page with the specified name.
itemByRange(from, to)
→ Page []
Returns the Pages within the specified range.
from
LongInteger | Page | String
The Page, index, or name at the beginning of the range. Can accept: Page, Long Integer or String.
to
LongInteger | Page | String
The Page, index, or name at the end of the range. Can accept: Page, Long Integer or String.
Returns the last Page in the collection.
Returns the middle Page in the collection.
Returns the Page whose index follows the specified Page in the collection.
obj
Page
The Page whose index comes before the desired Page.
Returns the Page with the index previous to the specified index.
obj
Page
The index of the Page that follows the desired Page.
Generates a string which, if executed, will return the Page.
Object of 3
Properties elsewhere that hold a Pages.
Generated with AI assistance from Adobe’s original sources — descriptive texts
are Adobe’s, transformation errors are ours. Copyright of the original files, and the trademarks
InDesign, Photoshop, Illustrator, ExtendScript and ScriptUI, are held by Adobe Inc. In case of
doubt, refer to the original files supplied by Adobe.
Built from Adobe InDesign Server 2025 (20.5.0.49) Object Model on 2026-09-16.
Created with ♥ by
Gregor Fellenz ,
publishingX
|
Impressum
|
Datenschutz