PreferencesLayoutAdjustmentPreference

Layout adjustment preferences.

Extends

Instance Properties

Name Description Access
allowGraphicsToResize bool If true, allows graphics to be resized. read-write
allowRulerGuidesToMove bool If true, allows ruler guides to move. read-write
enableLayoutAdjustment bool If true, layout adjustment is enabled. read-write
eventListeners EventListeners A collection of event listeners. read-only
events Events A collection of events. read-only
ignoreObjectOrLayerLocks bool If true, ignores object or layer locks. read-write
ignoreRulerGuideAlignments bool If true, ignores ruler guide alignments. read-write
isValid bool Returns true if the object specifier resolves to valid objects. read-only
parent The parent of the LayoutAdjustmentPreference (a Application or Document). read-only
properties Object A property that allows setting of several properties at the same time. read-write
snapZone Measurement Unit (Number or String)=any The range within which an object snaps to guides. read-write

Methods

addEventListener(
eventType, handler ​[, captures])
 → EventListener
removeEventListener(
eventType, handler ​[, captures])
 → bool
toSource(
)
 → string
toSpecifier(
)
 → string
addEventListener(
eventType, handler ​[, captures=false])
 → EventListener
Adds an event listener.
eventType string The event type.
handler The event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
getElements(
)
 → LayoutAdjustmentPreference
Resolves the object specifier, creating an array of object references.
removeEventListener(
eventType, handler ​[, captures=false])
 → bool
Removes the event listener.
eventType string The registered event type.
handler The registered event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
toSource(
)
 → string
Generates a string which, if executed, will return the LayoutAdjustmentPreference.
toSpecifier(
)
 → string
Retrieves the object specifier.