InDesign Page Items
Methods
ImportedPageadd ([withProperties:
Object])
Creates a new ImportedPage.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new ImportedPage (Optional) |
ImportedPageanyItem ()
Returns any ImportedPage in the collection.
number count ()
Displays the number of elements in the ImportedPage.
Array of ImportedPageeveryItem ()
Returns every ImportedPage in the collection.
ImportedPagefirstItem ()
Returns the first ImportedPage in the collection.
ImportedPageitem (index:
any)
Returns the ImportedPage with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
ImportedPageitemByID (id:
number)
Returns the ImportedPage with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
ImportedPageitemByName (name:
string)
Returns the ImportedPage with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of ImportedPageitemByRange (from:
any, to:
any)
Returns the IndesignPageItems within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | ImportedPage Long Integer String |
The ImportedPage, index, or name at the beginning of the range. Can accept: ImportedPage, Long Integer or String. |
| to | ImportedPage Long Integer String |
The ImportedPage, index, or name at the end of the range. Can accept: ImportedPage, Long Integer or String. |
ImportedPagelastItem ()
Returns the last ImportedPage in the collection.
ImportedPagemiddleItem ()
Returns the middle ImportedPage in the collection.
ImportedPagenextItem (obj:
ImportedPage)
Returns the ImportedPage whose index follows the specified ImportedPage in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | ImportedPage | The ImportedPage whose index comes before the desired ImportedPage. |
ImportedPagepreviousItem (obj:
ImportedPage)
Returns the ImportedPage with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | ImportedPage | The index of the ImportedPage that follows the desired ImportedPage. |
string toSource ()
Generates a string which, if executed, will return the ImportedPage.
Element of:
GraphicLine.indesignPageItems
Oval.indesignPageItems
PageItem.indesignPageItems
Polygon.indesignPageItems
Rectangle.indesignPageItems