Adobe InDesign CS5 Server (7.0) Object Model JS: PreflightRules

InDesign Server CS5

Class

PreflightRules

 A collection of preflight rules.

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

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

ParameterTypeDescription
indexnumberThe index.

PreflightRule anyItem ()
Returns any PreflightRule in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objPreflightRuleThe PreflightRule whose index comes before the desired PreflightRule.

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

ParameterTypeDescription
objPreflightRuleThe index of the PreflightRule that follows the desired PreflightRule.

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

Element of

Application.preflightRules

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