InDesign2026
API 21.5.1.73
Object

FrameFittingOption

Options for fitting placed or pasted content in a frame.

Preference FrameFittingOption
Hierarchy

Application | Document | ObjectStyle | Oval | Polygon | Rectangle

FrameFittingOption

Properties

NameType AccessDescription
Boolean read/write If true, the last saved fitting options will be applied to the contents of a frame when it is resized.
Number | String unit read/write The amount in measurement units to crop the bottom edge of a graphic.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
AnchorPoint
read/write The point with which to align the image empty when fitting in a frame. For information, see frame fitting options.
EmptyFrameFittingOptions
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.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Number | String unit read/write The amount in measurement units to crop the left edge of a graphic.
Application | Oval | Polygon | Rectangle | Document | ObjectStyle readonly The parent of the FrameFittingOption (a ObjectStyle, Oval, Rectangle, Polygon, Application or Document).
Object read/write A property that allows setting of several properties at the same time.
Number | String unit read/write The amount in measurement units to crop the right edge of a graphic.
Number | String unit read/write The amount in measurement units to crop the top edge of a graphic.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
FrameFittingOption[]

Resolves the object specifier, creating an array of object references.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

Generates a string which, if executed, will return the FrameFittingOption.

String

Retrieves the object specifier.

Object of 9

Properties elsewhere that hold a FrameFittingOption.

Return 1

Methods that return a FrameFittingOption.