InDesign Server2025
API 20.5.0.49
Object

AdjustLayoutPreference

Adjust layout preferences.

Preference AdjustLayoutPreference
Hierarchy

Document

AdjustLayoutPreference

Properties

NameType AccessDescription
Boolean read/write If true, allows font sizes and leading to adjust.
Boolean read/write If true, allows locked objects or objects on locked layers to be adjusted.
Boolean read/write If true, adjust layout is enabled.
Boolean read/write If true, margins are adjusted automatically if page size is changed.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Boolean read/write If true, imposes the font size restriction during the adjustment.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Number 0.1–1296 read/write maximum font size after adjustment in points
Number 0.1–1296 read/write minimum font size after adjustment in points
Document readonly The parent of the AdjustLayoutPreference (a Document).
Object read/write A property that allows setting of several properties at the same time.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
AdjustLayoutPreference[]

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

Boolean

Removes the event listener.

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.
String

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

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a AdjustLayoutPreference.

Return 1

Methods that return a AdjustLayoutPreference.