Adobe InDesign CS (3.0) Object Model JS: Pages

InDesign CS

Class

Pages

 A collection of pages.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Page add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: any][, withProperties: Object])
Creates a new page.

ParameterTypeDescription
atLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
The location of the new page relative to the reference object or within the document or spread. (Optional) (default: LocationOptions.UNKNOWN)
referenceDocument
MasterSpread
Page
Spread
The reference object. Note: Required when the at parameter value specifies before or after. Can accept: Page, Spread, MasterSpread or Document. (Optional)
withPropertiesObjectInitial values for properties of the new Page (Optional)

number count ()
Displays the number of elements in the Page.

Element of

Document.pages

MasterSpread.pages

Spread.pages

Jongware, 27-Jun-2010 v3.0.3dContents :: Index