Adobe InCopy CS6 (8.0) Object Model JS: PDFs

InCopy CS6

Class

PDFs

 A collection of PDF files.

See also PDF.

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

CheckBox.pdfs

ComboBox.pdfs

GraphicLine.pdfs

ListBox.pdfs

MultiStateObject.pdfs

Oval.pdfs

PlaceGun.pdfs

Polygon.pdfs

RadioButton.pdfs

Rectangle.pdfs

SignatureField.pdfs

SplineItem.pdfs

State.pdfs

TextBox.pdfs

XMLElement.pdfs

Jongware, 29-Apr-2012 v3.0.3iContents :: Index