Adobe InCopy CS5 (7.0) Object Model JS: PDFs

InCopy CS5

Class

PDFs

 A collection of PDF files.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

PDF [] (index: number)
Returns the PDF with the specified index.

ParameterTypeDescription
indexnumberThe index.

PDF anyItem ()
Returns any PDF in the collection.

number count ()
Displays the number of elements in the PDF.

Array of PDF everyItem ()
Returns every PDF in the collection.

PDF firstItem ()
Returns the first PDF in the collection.

PDF item (index: varies)
Returns the PDF with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

PDF itemByID (id: number)
Returns the PDF with the specified ID.

ParameterTypeDescription
idnumberThe ID.

PDF itemByName (name: string)
Returns the PDF with the specified name.

ParameterTypeDescription
namestringThe name.

Array of PDF itemByRange (from: varies, to: varies)
Returns the PDFs within the specified range.

ParameterTypeDescription
fromLong Integer
PDF
String
The PDF, index, or name at the beginning of the range. Can accept: PDF, Long Integer or String.
toLong Integer
PDF
String
The PDF, index, or name at the end of the range. Can accept: PDF, Long Integer or String.

PDF lastItem ()
Returns the last PDF in the collection.

PDF middleItem ()
Returns the middle PDF in the collection.

PDF nextItem (obj: PDF)
Returns the PDF whose index follows the specified PDF in the collection.

ParameterTypeDescription
objPDFThe PDF whose index comes before the desired PDF.

PDF previousItem (obj: PDF)
Returns the PDF with the index previous to the specified index.

ParameterTypeDescription
objPDFThe index of the PDF that follows the desired PDF.

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

Element of

Button.pdfs

GraphicLine.pdfs

MultiStateObject.pdfs

Oval.pdfs

PlaceGun.pdfs

Polygon.pdfs

Rectangle.pdfs

SplineItem.pdfs

State.pdfs

XMLElement.pdfs

Jongware, 23-Mar-2011 v3.0.3dContents :: Index