Preferences

A collection of preferences objects.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Preference [] (index:Number)

Returns the Preference with the specified index.

Parameter

Type

Description

index

Number

The index.

Preference anyItem ()

Returns any Preference in the collection.

Number count ()

Displays the number of elements in the Preference.

Preference everyItem ()

Returns every Preference in the collection.

Preference firstItem ()

Returns the first Preference in the collection.

Preference item (index:Varies LongInteger String)

Returns the Preference with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

Preference itemByRange (from:Varies LongInteger Preference String, to:Varies LongInteger Preference String)

Returns the Preferences within the specified range.

Parameter

Type

Description

from

LongInteger

Preference

String

The Preference, index, or name at the beginning of the range. Can accept: Preference, Long Integer or String.

to

LongInteger

Preference

String

The Preference, index, or name at the end of the range. Can accept: Preference, Long Integer or String.

Preference lastItem ()

Returns the last Preference in the collection.

Preference middleItem ()

Returns the middle Preference in the collection.

Preference nextItem (obj:Preference)

Returns the Preference whose index follows the specified Preference in the collection.

Parameter

Type

Description

obj

Preference

The Preference whose index comes before the desired Preference.

Preference previousItem (obj:Preference)

Returns the Preference with the index previous to the specified index.

Parameter

Type

Description

obj

Preference

The index of the Preference that follows the desired Preference.

String toSource ()

Generates a string which, if executed, will return the Preference.

Object of

Application.preferences

Document.preferences

Book.preferences

FormField.preferences

Button.preferences

MultiStateObject.preferences

CheckBox.preferences

ComboBox.preferences

ListBox.preferences

RadioButton.preferences

TextBox.preferences

SignatureField.preferences

Movie.preferences

Sound.preferences

Spread.preferences

Page.preferences

MasterSpread.preferences

PageItem.preferences

Oval.preferences

Rectangle.preferences

GraphicLine.preferences

Polygon.preferences

Group.preferences

Image.preferences

EPS.preferences

PDF.preferences

WMF.preferences

PICT.preferences

Graphic.preferences

TextWrapPreference.preferences

SplineItem.preferences

EPSText.preferences

ImportedPage.preferences

SVG.preferences

MediaItem.preferences

HtmlItem.preferences

Link.preferences

ObjectStyle.preferences

TextDefault.preferences

PageItemDefault.preferences

FindTextPreference.preferences

FindGrepPreference.preferences

FindObjectPreference.preferences

FindTransliteratePreference.preferences

ChangeTextPreference.preferences

ChangeGrepPreference.preferences

ChangeObjectPreference.preferences

ChangeTransliteratePreference.preferences

TransparencySetting.preferences

StrokeTransparencySetting.preferences

FillTransparencySetting.preferences

ContentTransparencySetting.preferences

FindChangeTransparencySetting.preferences

FindChangeStrokeTransparencySetting.preferences

FindChangeFillTransparencySetting.preferences

FindChangeContentTransparencySetting.preferences

DataMerge.preferences

Text.preferences

Character.preferences

Word.preferences

Line.preferences

TextColumn.preferences

Paragraph.preferences

TextStyleRange.preferences

InsertionPoint.preferences

TextFrame.preferences

Story.preferences

ParagraphStyle.preferences

EndnoteTextFrame.preferences

TextVariable.preferences

NamedGrid.preferences

XmlStory.preferences