InDesign2026
API 21.5.1.73
Collection of PreflightProcess

PreflightProcesses

A collection of preflight processes.

Properties

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

Methods

PreflightProcess

Returns the PreflightProcess with the specified index.

index Number The index.
PreflightProcess

Adds a new preflight process.

targetObject Document The document the process should inspect.
appliedProfile PreflightProfile The preflight profile that should be used.
preflightOptions? PreflightOption The preflight options that should be used.
withProperties? Object Initial values for properties of the new PreflightProcess
Number

Displays the number of elements in the PreflightProcess.

PreflightProcess[]

Returns every PreflightProcess in the collection.

PreflightProcess

Returns the first PreflightProcess in the collection.

PreflightProcess

Returns the PreflightProcess with the specified index or name.

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

Returns the PreflightProcesses within the specified range.

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

Returns the last PreflightProcess in the collection.

PreflightProcess

Returns the middle PreflightProcess in the collection.

PreflightProcess

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

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

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

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

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

Object of 1

Properties elsewhere that hold a PreflightProcesses.