AdjustLayoutPreference

Adjust layout preferences.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, EventListeners, Events, Number, Object

Hierarchy:

Superclass: Preference

Class: AdjustLayoutPreference

Property Listing

Property

Type

Access

Description

allowFontSizeAndLeadingAdjustment

Boolean

read/write

If true, allows font sizes and leading to adjust.

allowLockedObjectsToAdjust

Boolean

read/write

If true, allows locked objects or objects on locked layers to be adjusted.

enableAdjustLayout

Boolean

read/write

If true, adjust layout is enabled.

enableAutoAdjustMargins

Boolean

read/write

If true, margins are adjusted automatically if page size is changed.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

imposeFontSizeRestriction

Boolean

read/write

If true, imposes the font size restriction during the adjustment.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

maximumFontSize

Number (range 0.1 - 1296)

read/write

maximum font size after adjustment in points

minimumFontSize

Number (range 0.1 - 1296)

read/write

minimum font size after adjustment in points

parent

Document

readonly

The parent of the AdjustLayoutPreference (a Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

AdjustLayoutPreference getElements ()

Resolves the object specifier, creating an array of object references.

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Object of

Document.adjustLayoutPreferences

Event.parent

EventListener.parent

MutationEvent.parent

Return

AdjustLayoutPreference.getElements()