InDesign Server2025
API 20.5.0.49
Collection of PDF

PDFs

A collection of PDF files.

Properties

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

Methods

PDF

Returns the PDF with the specified index.

index Number The index.
PDF

Returns any PDF in the collection.

Number

Displays the number of elements in the PDF.

PDF[]

Returns every PDF in the collection.

PDF

Returns the first PDF in the collection.

PDF

Returns the PDF with the specified index or name.

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

Returns the PDF with the specified ID.

id Number The ID.
PDF

Returns the PDF with the specified name.

name String The name.
PDF[]

Returns the PDFs within the specified range.

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

Returns the last PDF in the collection.

PDF

Returns the middle PDF in the collection.

PDF

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

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

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

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

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

Object of 17

Properties elsewhere that hold a PDFs.