FrameFittingOption
Options for fitting placed or pasted content in a frame.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
AnchorPoint, Boolean, EmptyFrameFittingOptions, EventListeners, Events, Number, Object, String
Hierarchy:
Superclass: Preference
Class: FrameFittingOption
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
If true, the last saved fitting options will be applied to the contents of a frame when it is resized. |
||
read/write |
The amount in measurement units to crop the bottom edge of a graphic. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
The point with which to align the image empty when fitting in a frame. For information, see frame fitting options. |
||
read/write |
The frame fitting option to apply to placed or pasted content if the frame is empty. Can be applied to a frame, object style, or document or to the application. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
The amount in measurement units to crop the left edge of a graphic. |
||
readonly |
The parent of the FrameFittingOption (a ObjectStyle, Oval, Rectangle, Polygon, Application or Document). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The amount in measurement units to crop the right edge of a graphic. |
||
read/write |
The amount in measurement units to crop the top edge of a graphic. |
Method Listing
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) |
FrameFittingOption getElements ()
Resolves the object specifier, creating an array of object references.
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) |
String toSource ()
Generates a string which, if executed, will return the FrameFittingOption.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.frameFittingOptions
Document.frameFittingOptions
Oval.frameFittingOptions
Rectangle.frameFittingOptions
Polygon.frameFittingOptions
ObjectStyle.frameFittingOptions
Event.parent
EventListener.parent
MutationEvent.parent