LayoutImportedPages

Imported InDesign pages.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → ImportedPage
count(
)
 → number
item(
index)
 → ImportedPage
itemByID(
id)
 → ImportedPage
itemByName(
name)
 → ImportedPage
itemByRange(
from, to)
 → ImportedPage
nextItem(
obj)
 → ImportedPage
toSource(
)
 → string
add(
[withProperties])
 → ImportedPage
Creates a new ImportedPage.
withProperties Object Initial values for properties of the new ImportedPage (Optional)
anyItem(
)
 → ImportedPage
Returns any ImportedPage in the collection.
count(
)
 → number
Displays the number of elements in the ImportedPage.
everyItem(
)
 → ImportedPage
Returns every ImportedPage in the collection.
firstItem(
)
 → ImportedPage
Returns the first ImportedPage in the collection.
item(
index)
 → ImportedPage
Returns the ImportedPage with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → ImportedPage
Returns the ImportedPage with the specified ID.
id number The ID.
itemByName(
name)
 → ImportedPage
Returns the ImportedPage with the specified name.
name string The name.
itemByRange(
from, to)
 → ImportedPage
Returns the ImportedPages within the specified range.
from The ImportedPage, index, or name at the beginning of the range. Can accept: ImportedPage, Long Integer or String.
to The ImportedPage, index, or name at the end of the range. Can accept: ImportedPage, Long Integer or String.
lastItem(
)
 → ImportedPage
Returns the last ImportedPage in the collection.
middleItem(
)
 → ImportedPage
Returns the middle ImportedPage in the collection.
nextItem(
obj)
 → ImportedPage
Returns the ImportedPage whose index follows the specified ImportedPage in the collection.
obj ImportedPage The ImportedPage whose index comes before the desired ImportedPage.
previousItem(
obj)
 → ImportedPage
Returns the ImportedPage with the index previous to the specified index.
obj ImportedPage The index of the ImportedPage that follows the desired ImportedPage.
toSource(
)
 → string
Generates a string which, if executed, will return the ImportedPage.