Adobe InDesign CS2 (4.0) Object Model JS: EPSs

InDesign CS2

Class

EPSs

 A collection of EPS files.

QuickLinks

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

EPS anyItem ()
Returns any EPS in the collection.

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

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

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

EPS item (index: any)
Returns the EPS with the specified index or name.

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

Array of EPS itemByRange (from: any, to: any)
Returns the EPSs within the specified range.

ParameterTypeDescription
fromEPS
Long
String
The EPS, index, or name at the beginning of the range. Can accept: EPS, Long or String.
toEPS
Long
String
The EPS, index, or name at the end of the range. Can accept: EPS, Long or String.

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

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

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

ParameterTypeDescription
objEPSThe EPS whose index comes before the desired EPS.

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

ParameterTypeDescription
objEPSThe index of the EPS that follows the desired EPS.

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

Element of

Button.epss

GraphicLine.epss

Group.epss

Oval.epss

PageItem.epss

Polygon.epss

Rectangle.epss

State.epss

XMLElement.epss

Used in:

Asset Library.store (using: Array of any)

Jongware, 27-Jun-2010 v3.0.3dContents :: Index