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