AutoFit settings on the page item level
Go to Property Listing | Method Listing
addEventListener, dimensions, exist, getElements, height, isActive, removeEventListener, resetAllToDefaults, toSource, toSpecifier, width
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The optional local reference point |
||
readonly |
Allow to handle the AutoFit auto-resize item object as property |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
Allow to handle the AutoFit limits item object as property |
||
readonly |
The parent of the AutofitPageItemSettings (a PageItem, HtmlItem, FormField, SignatureField, TextBox, RadioButton, ListBox, ComboBox, CheckBox, MultiStateObject, Button, MediaItem, Sound, Movie, EPSText, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Graphic, ImportedPage, PICT, WMF, PDF, EPS, Image, Group, TextFrame, EndnoteTextFrame or TextPath). |
||
readonly |
A collection of preferences objects. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
Access methods related to AutoFit relations associated with a page item |
||
readonly |
Access methods related to AutoFit relations with different source objects and the current object as target |
||
read/write |
Handle the reference point spine relative |
||
readonly |
Access methods related to AutoFit relations with different target objects and the current object as source |
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) |
Number dimensions (scale:Array of Varies Real 2 Reals (>= 0). , set:Boolean)
Get/set the current dimensions in points, optionally scaled by a given factor.
Parameter |
Type |
Description |
---|---|---|
scale |
Real Array of 2 Reals (>= 0). |
The optional scale factor > 0 (1.0 by default). Might be an array of two scale factors for width and height. Can accept: Real or Array of 2 Reals (>= 0). (Optional) |
set |
Optionally use the method to set the minimum and maximum width and height to the computed values (Optional) |
Boolean exist ()
Test whether the AutoFit specific data of AutofitPageItemSettings specifies relevant values at all
AutofitPageItemSettings getElements ()
Resolves the object specifier, creating an array of object references.
Number height (scale:Number, set:Boolean)
Get/set the current height in points, optionally scaled by a given factor.
Parameter |
Type |
Description |
---|---|---|
scale |
The optional scale factor > 0 (1.0 by default) (Optional) |
|
set |
Optionally use the method to set the minimum and maximum height to the computed value (Optional) |
Boolean isActive ()
Test whether AutofitPageItemSettings 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 AutofitPageItemSettings to the default values
String toSource ()
Generates a string which, if executed, will return the AutofitPageItemSettings.
String toSpecifier ()
Retrieves the object specifier.
Number width (scale:Number, set:Boolean)
Get/set the current width in points, optionally scaled by a given factor.
FormField.autofitSettings
Button.autofitSettings
MultiStateObject.autofitSettings
CheckBox.autofitSettings
ComboBox.autofitSettings
ListBox.autofitSettings
RadioButton.autofitSettings
TextBox.autofitSettings
SignatureField.autofitSettings
Movie.autofitSettings
Sound.autofitSettings
PageItem.autofitSettings
Oval.autofitSettings
Rectangle.autofitSettings
GraphicLine.autofitSettings
Polygon.autofitSettings
Group.autofitSettings
Image.autofitSettings
EPS.autofitSettings
PDF.autofitSettings
WMF.autofitSettings
PICT.autofitSettings
Graphic.autofitSettings
SplineItem.autofitSettings
EPSText.autofitSettings
ImportedPage.autofitSettings
MediaItem.autofitSettings
HtmlItem.autofitSettings
TextFrame.autofitSettings
EndnoteTextFrame.autofitSettings
TextPath.autofitSettings
AutofitAutoResize.parent
AutofitLimits.parent
AutofitPageItemRelations.parent
AutofitSourceRelations.parent
AutofitTargetRelations.parent
Event.parent
EventListener.parent
MutationEvent.parent
Preference.parent