AutoFit settings on the document level
Go to Property Listing | Method Listing
addEventListener, getElements, isActive, removeEventListener, resetAllToDefaults, resetPreferences, toSource, toSpecifier
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
Appearance preferences for AutoFit relations |
||
read/write |
Determine if AutoFit is enabled |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The parent of the AutofitDocumentSettings (a Document). |
||
readonly |
A collection of preferences objects. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
Entry property for methods related to AutoFit relations on the document level |
||
read/write |
Hide or show the AutoFit relations in the UI |
||
read/write |
Allow single column text frames to collapse |
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
AutofitDocumentSettings getElements ()
Resolves the object specifier, creating an array of object references.
Boolean isActive ()
Test whether AutofitDocumentSettings is active in terms of AutoFit
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined resetAllToDefaults ()
Reset the AutoFit specific data of AutofitDocumentSettings to the default values
undefined resetPreferences ()
Reset the AutoFit preferences to their default values
String toSource ()
Generates a string which, if executed, will return the AutofitDocumentSettings.
String toSpecifier ()
Retrieves the object specifier.
Document.autofitSettings
AutofitAppearancePreferences.parent
AutofitDocumentRelations.parent
Event.parent
EventListener.parent
MutationEvent.parent
Preference.parent