AutoFit auto-resize related values
Go to Property Listing | Method Listing
addEventListener, exist, getElements, isActive, removeEventListener, resetAllToDefaults, set, toSource, toSpecifier
AutoResizeType, AutofitLimitType, Boolean, EventListeners, Events, Object,
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
Determine whether multi-column frames should be balanced ('true' by default) |
||
read/write |
Determine whether auto-resize of AutoFit is enabled ('true' by default) |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
Real |
read/write |
The maximum vertical gap. Can return: Real or AutofitLimitType enumerator. |
|
readonly |
The parent of the AutofitAutoResize (a AutofitPageItemSettings). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
AutoFit auto-resize values |
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) |
Boolean exist ()
Test whether the AutoFit specific data of AutofitAutoResize specifies relevant values at all
AutofitAutoResize getElements ()
Resolves the object specifier, creating an array of object references.
Boolean isActive ()
Test whether AutofitAutoResize 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 AutofitAutoResize to the default values
undefined set (resizeFrom:AutoResizeType, [maximumVerticalGap:Varies Real AutofitLimitType=Varies Real AutofitLimitType], enabled:Boolean, balanceMulticolumnFrames:Boolean)
Set the values related to auto-resize at once
Parameter |
Type |
Description |
---|---|---|
resizeFrom |
AutoFit auto-resize value |
|
maximumVerticalGap |
Real |
The maximum vertical gap. Can accept: Real or AutofitLimitType enumerator. (Optional) (default: AutofitLimitType.NO_LIMIT) |
enabled |
Determine if auto-resize is enabled (Optional) |
|
balanceMulticolumnFrames |
Determine if multi-column frames should be balanced (Optional) |
String toSource ()
Generates a string which, if executed, will return the AutofitAutoResize.
String toSpecifier ()
Retrieves the object specifier.