MasterSpreads
See also MasterSpread.
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
MasterSpread [] (index:
number)
Returns the MasterSpread with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
MasterSpread add ([pagesPerSpread:
number][, withProperties:
Object])
Creates a new master spread.
Parameter | Type | Description |
---|---|---|
pagesPerSpread | number | The number of pages to include in the master spread. (Optional) |
withProperties | Object | Initial values for properties of the new MasterSpread (Optional) |
MasterSpread anyItem ()
Returns any MasterSpread in the collection.
number count ()
Displays the number of elements in the MasterSpread.
Array of MasterSpread everyItem ()
Returns every MasterSpread in the collection.
MasterSpread firstItem ()
Returns the first MasterSpread in the collection.
MasterSpread item (index:
varies)
Returns the MasterSpread with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
MasterSpread itemByID (id:
number)
Returns the MasterSpread with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
MasterSpread itemByName (name:
string)
Returns the MasterSpread with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of MasterSpread itemByRange (from:
varies, to:
varies)
Returns the MasterSpreads within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer MasterSpread String | The MasterSpread, index, or name at the beginning of the range. Can accept: MasterSpread, Long Integer or String. |
to | Long Integer MasterSpread String | The MasterSpread, index, or name at the end of the range. Can accept: MasterSpread, Long Integer or String. |
MasterSpread lastItem ()
Returns the last MasterSpread in the collection.
MasterSpread middleItem ()
Returns the middle MasterSpread in the collection.
MasterSpread nextItem (obj:
MasterSpread)
Returns the MasterSpread whose index follows the specified MasterSpread in the collection.
Parameter | Type | Description |
---|---|---|
obj | MasterSpread | The MasterSpread whose index comes before the desired MasterSpread. |
MasterSpread previousItem (obj:
MasterSpread)
Returns the MasterSpread with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | MasterSpread | The index of the MasterSpread that follows the desired MasterSpread. |
string toSource ()
Generates a string which, if executed, will return the MasterSpread.
Element of
Document.masterSpreads
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |