Edit in GitHubLog an issue

PreflightProcesses

A collection of preflight processes.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

PreflightProcess add( Document targetObject, PreflightProfile appliedProfile, PreflightOption preflightOptions, Object withProperties )

Adds a new preflight process.

Parameters

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

Number count()

Displays the number of elements in the PreflightProcess.


PreflightProcess item( Mixed index )

Returns the PreflightProcess with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

PreflightProcess itemByRange( Mixed from, Mixed to )

Returns the PreflightProcesses within the specified range.

Parameters

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

PreflightProcess firstItem()

Returns the first PreflightProcess in the collection.


PreflightProcess lastItem()

Returns the last PreflightProcess in the collection.


PreflightProcess middleItem()

Returns the middle PreflightProcess in the collection.


PreflightProcess previousItem( PreflightProcess obj )

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

Parameters

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

PreflightProcess nextItem( PreflightProcess obj )

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

Parameters

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

PreflightProcess anyItem()

Returns any PreflightProcess in the collection.


PreflightProcess everyItem()

Returns every PreflightProcess in the collection.


String toSource()

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


PreflightProcess []( Number index )

Returns the PreflightProcess with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.