Adobe InDesign CS (3.0) Object Model JS: Spreads

InDesign CS

Class

Spreads

 A collection of spreads.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

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

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

Element of

Document.spreads

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