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