Adobe InDesign CS2 (4.0) Object Model JS: PDFExportPresets

InDesign CS2

Class

PDFExportPresets

 A collection of PDF export presets.

QuickLinks

add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

PDFExportPreset add ([withProperties: Object])
Creates a new PDFExportPreset.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new PDFExportPreset (Optional)

PDFExportPreset anyItem ()
Returns any PDFExportPreset in the collection.

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

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

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

PDFExportPreset item (index: any)
Returns the PDFExportPreset with the specified index or name.

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

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

ParameterTypeDescription
namestringThe name.

Array of PDFExportPreset itemByRange (from: any, to: any)
Returns the PDFExportPresets within the specified range.

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

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

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

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

ParameterTypeDescription
objPDFExportPresetThe PDFExportPreset whose index comes before the desired PDFExportPreset.

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

ParameterTypeDescription
objPDFExportPresetThe index of the PDFExportPreset that follows the desired PDFExportPreset.

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

Element of

Application.pdfExportPresets

Jongware, 27-Jun-2010 v3.0.3dContents :: Index