Proxy object for methods related to AutoFit relations associated with a page item
Go to Property Listing | Method Listing
addEventListener, count, exist, getElements, isActive, item, list, removeEventListener, resetAllToDefaults, toSource, toSpecifier
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The parent of the AutofitPageItemRelations (a AutofitPageItemSettings). |
||
read/write |
A property that allows setting of several properties at the same time. |
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 count (sourceObject:Varies PageItem Graphic, targetObject:Varies PageItem Graphic)
Get the number of AutoFit relations between this object and other objects. Could be limited by the given parameters
Parameter |
Type |
Description |
---|---|---|
sourceObject |
The frame from where we start. Can accept: PageItem or Graphic. (Optional) |
|
targetObject |
The page item to link to. Can accept: PageItem or Graphic. (Optional) |
Boolean exist (sourceObject:Varies PageItem Graphic, targetObject:Varies PageItem Graphic)
Test whether at least one AutoFit relation exists between this object and other objects. Could be limited by the given parameters
Parameter |
Type |
Description |
---|---|---|
sourceObject |
The frame from where we start. Can accept: PageItem or Graphic. (Optional) |
|
targetObject |
The page item to link to. Can accept: PageItem or Graphic. (Optional) |
AutofitPageItemRelations getElements ()
Resolves the object specifier, creating an array of object references.
Boolean isActive ()
Test whether AutofitPageItemRelations is active in terms of AutoFit
AutofitRelation item (index:Number)
Get the nth relation from AutofitPageItemRelations
Parameter |
Type |
Description |
---|---|---|
index |
The index into the list of AutofitPageItemRelations |
AutofitRelation list (sourceObject:Varies PageItem Graphic, targetObject:Varies PageItem Graphic)
Get the list of AutoFit relations between this object and other objects. Could be limited by the given parameters
Parameter |
Type |
Description |
---|---|---|
sourceObject |
The frame from where we start. Can accept: PageItem or Graphic. (Optional) |
|
targetObject |
The page item to link to. Can accept: PageItem or Graphic. (Optional) |
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 AutofitPageItemRelations to the default values
String toSource ()
Generates a string which, if executed, will return the AutofitPageItemRelations.
String toSpecifier ()
Retrieves the object specifier.