Adobe InDesign CS5 Server (7.0) Object Model JS: PDFExportPresets

InDesign Server CS5

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 [] (index: number)
Returns the PDFExportPreset with the specified index.

ParameterTypeDescription
indexnumberThe index.

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: varies)
Returns the PDFExportPreset with the specified index or name.

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

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromLong Integer
PDFExportPreset
String
The PDFExportPreset, index, or name at the beginning of the range. Can accept: PDFExportPreset, Long Integer or String.
toLong Integer
PDFExportPreset
String
The PDFExportPreset, index, or name at the end of the range. Can accept: PDFExportPreset, Long Integer 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, 23-Mar-2011 v3.0.3dContents :: Index