InDesign Server2025
API 20.5.0.49
Collection of PreflightRuleInstance

PreflightRuleInstances

A collection of preflight rule instances.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ Varies

Adds a new preflight rule to the profile.

id String The ID of the rule to be added
withProperties? Object Initial values for properties of the new PreflightRuleInstance
Number

Displays the number of elements in the PreflightRuleInstance.

PreflightRuleInstance

Returns the PreflightRuleInstance with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
PreflightRuleInstance[]

Returns the PreflightRuleInstances within the specified range.

from LongInteger | PreflightRuleInstance | String The PreflightRuleInstance, index, or name at the beginning of the range. Can accept: PreflightRuleInstance, Long Integer or String.
to LongInteger | PreflightRuleInstance | String The PreflightRuleInstance, index, or name at the end of the range. Can accept: PreflightRuleInstance, Long Integer or String.
PreflightRuleInstance

Returns the PreflightRuleInstance whose index follows the specified PreflightRuleInstance in the collection.

obj PreflightRuleInstance The PreflightRuleInstance whose index comes before the desired PreflightRuleInstance.
PreflightRuleInstance

Returns the PreflightRuleInstance with the index previous to the specified index.

obj PreflightRuleInstance The index of the PreflightRuleInstance that follows the desired PreflightRuleInstance.
String

Generates a string which, if executed, will return the PreflightRuleInstance.

Object of 1

Properties elsewhere that hold a PreflightRuleInstances.