Adobe InDesign CS5.5 (7.5) Object Model JS: PreflightProfiles

InDesign CS5.5

Class

PreflightProfiles

 A collection of preflight profiles.

See also PreflightProfile.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

PreflightProfile anyItem ()
Returns any PreflightProfile in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromLong Integer
PreflightProfile
String
The PreflightProfile, index, or name at the beginning of the range. Can accept: PreflightProfile, Long Integer or String.
toLong Integer
PreflightProfile
String
The PreflightProfile, index, or name at the end of the range. Can accept: PreflightProfile, Long Integer or String.

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

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

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

ParameterTypeDescription
objPreflightProfileThe PreflightProfile whose index comes before the desired PreflightProfile.

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

ParameterTypeDescription
objPreflightProfileThe index of the PreflightProfile that follows the desired PreflightProfile.

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

Element of

Application.preflightProfiles

Document.preflightProfiles

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