MasterSpreads
A collection of master spreads.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
MasterSpread add( Number pagesPerSpread, Object withProperties )
Creates a new master spread.
Parameters
Number count()
Displays the number of elements in the MasterSpread.
MasterSpread item( Mixed index )
Returns the MasterSpread with the specified index or name.
Parameters
MasterSpread itemByName( String name )
Returns the MasterSpread with the specified name.
Parameters
MasterSpread itemByID( Number id )
Returns the MasterSpread with the specified ID.
Parameters
MasterSpread itemByRange( Mixed from, Mixed to )
Returns the MasterSpreads within the specified range.
Parameters
MasterSpread firstItem()
Returns the first MasterSpread in the collection.
MasterSpread lastItem()
Returns the last MasterSpread in the collection.
MasterSpread middleItem()
Returns the middle MasterSpread in the collection.
MasterSpread previousItem( MasterSpread obj )
Returns the MasterSpread with the index previous to the specified index.
Parameters
MasterSpread nextItem( MasterSpread obj )
Returns the MasterSpread whose index follows the specified MasterSpread in the collection.
Parameters
MasterSpread anyItem()
Returns any MasterSpread in the collection.
MasterSpread everyItem()
Returns every MasterSpread in the collection.
String toSource()
Generates a string which, if executed, will return the MasterSpread.
MasterSpread []( Number index )
Returns the MasterSpread with the specified index.