Adobe InCopy CS5 (7.0) Object Model JS: EPSs

InCopy CS5

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 [] (index: number)
Returns the EPS with the specified index.

ParameterTypeDescription
indexnumberThe index.

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: varies)
Returns the EPS with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer 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: varies, to: varies)
Returns the EPSs within the specified range.

ParameterTypeDescription
fromEPS
Long Integer
String
The EPS, index, or name at the beginning of the range. Can accept: EPS, Long Integer or String.
toEPS
Long Integer
String
The EPS, index, or name at the end of the range. Can accept: EPS, Long Integer 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

MultiStateObject.epss

Oval.epss

PlaceGun.epss

Polygon.epss

Rectangle.epss

SplineItem.epss

State.epss

XMLElement.epss

Jongware, 23-Mar-2011 v3.0.3dContents :: Index