Adobe InDesign CS6 (8.0) Object Model JS: ImportedPages

InDesign CS6

Class

ImportedPages

 Imported InDesign pages.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

ImportedPage [] (index: number)
Returns the ImportedPage with the specified index.

ParameterTypeDescription
indexnumberThe index.

ImportedPage add ([withProperties: Object])
Creates a new ImportedPage.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new ImportedPage (Optional)

ImportedPage anyItem ()
Returns any ImportedPage in the collection.

number count ()
Displays the number of elements in the ImportedPage.

Array of ImportedPage everyItem ()
Returns every ImportedPage in the collection.

ImportedPage firstItem ()
Returns the first ImportedPage in the collection.

ImportedPage item (index: varies)
Returns the ImportedPage with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

ImportedPage itemByID (id: number)
Returns the ImportedPage with the specified ID.

ParameterTypeDescription
idnumberThe ID.

ImportedPage itemByName (name: string)
Returns the ImportedPage with the specified name.

ParameterTypeDescription
namestringThe name.

Array of ImportedPage itemByRange (from: varies, to: varies)
Returns the ImportedPages within the specified range.

ParameterTypeDescription
fromImportedPage
Long Integer
String
The ImportedPage, index, or name at the beginning of the range. Can accept: ImportedPage, Long Integer or String.
toImportedPage
Long Integer
String
The ImportedPage, index, or name at the end of the range. Can accept: ImportedPage, Long Integer or String.

ImportedPage lastItem ()
Returns the last ImportedPage in the collection.

ImportedPage middleItem ()
Returns the middle ImportedPage in the collection.

ImportedPage nextItem (obj: ImportedPage)
Returns the ImportedPage whose index follows the specified ImportedPage in the collection.

ParameterTypeDescription
objImportedPageThe ImportedPage whose index comes before the desired ImportedPage.

ImportedPage previousItem (obj: ImportedPage)
Returns the ImportedPage with the index previous to the specified index.

ParameterTypeDescription
objImportedPageThe index of the ImportedPage that follows the desired ImportedPage.

string toSource ()
Generates a string which, if executed, will return the ImportedPage.

Element of

GraphicLine.importedPages

Oval.importedPages

PlaceGun.importedPages

Polygon.importedPages

Rectangle.importedPages

SplineItem.importedPages

Jongware, 28-Apr-2012 v3.0.3hContents :: Index