Edit in GitHubLog an issue

PDFs

A collection of PDF files.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the PDF.


PDF item( Mixed index )

Returns the PDF with the specified index or name.

Parameters

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

PDF itemByName( String name )

Returns the PDF with the specified name.

Parameters

TypeNameDescription
String
name
The name.

PDF itemByID( Number id )

Returns the PDF with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

PDF itemByRange( Mixed from, Mixed to )

Returns the PDFs within the specified range.

Parameters

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

PDF firstItem()

Returns the first PDF in the collection.


PDF lastItem()

Returns the last PDF in the collection.


PDF middleItem()

Returns the middle PDF in the collection.


PDF previousItem( PDF obj )

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

Parameters

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

PDF nextItem( PDF obj )

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

Parameters

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

PDF anyItem()

Returns any PDF in the collection.


PDF everyItem()

Returns every PDF in the collection.


String toSource()

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


PDF []( Number index )

Returns the PDF 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.