InDesign Server2025
API 20.5.0.49
Collection of PreflightProfileRule

PreflightProfileRules

A collection of preflight profile rules.

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 PreflightProfileRule
→ Number

Displays the number of elements in the PreflightProfileRule.

→ PreflightProfileRule

Returns the PreflightProfileRule with the specified index or name.

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

Returns the PreflightProfileRules within the specified range.

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

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

obj PreflightProfileRule The PreflightProfileRule whose index comes before the desired PreflightProfileRule.
→ PreflightProfileRule

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

obj PreflightProfileRule The index of the PreflightProfileRule that follows the desired PreflightProfileRule.
→ String

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

Object of 1

Properties elsewhere that hold a PreflightProfileRules.