Adobe InDesign CS2 (4.0) Object Model JS: LanguagesWithVendors

InDesign CS2

Class

LanguagesWithVendors

 A collection of languages with vendors.

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

LanguageWithVendors anyItem ()
Returns any LanguageWithVendors in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromLanguageWithVendors
Long
String
The LanguageWithVendors, index, or name at the beginning of the range. Can accept: LanguageWithVendors, Long or String.
toLanguageWithVendors
Long
String
The LanguageWithVendors, index, or name at the end of the range. Can accept: LanguageWithVendors, Long or String.

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

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

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

ParameterTypeDescription
objLanguageWithVendorsThe LanguageWithVendors whose index comes before the desired LanguageWithVendors.

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

ParameterTypeDescription
objLanguageWithVendorsThe index of the LanguageWithVendors that follows the desired LanguageWithVendors.

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

Element of

Application.languagesWithVendors

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