InDesign2026
API 21.5.1.73
Collection of PreflightProfile

PreflightProfiles

A collection of preflight profiles.

Properties

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

Methods

PreflightProfile

Returns the PreflightProfile with the specified index.

index Number The index.
PreflightProfile

Creates a new PreflightProfile.

withProperties? Object Initial values for properties of the new PreflightProfile
Number

Displays the number of elements in the PreflightProfile.

PreflightProfile[]

Returns every PreflightProfile in the collection.

PreflightProfile

Returns the first PreflightProfile in the collection.

PreflightProfile

Returns the PreflightProfile with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
PreflightProfile

Returns the PreflightProfile with the specified name.

name String The name.
PreflightProfile[]

Returns the PreflightProfiles within the specified range.

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

Returns the last PreflightProfile in the collection.

PreflightProfile

Returns the middle PreflightProfile in the collection.

PreflightProfile

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

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

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

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

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

Object of 2

Properties elsewhere that hold a PreflightProfiles.