InDesign Server2025
API 20.5.0.49
Enumeration

Fitting

Options for fitting content to a frame.

Values

NameType AccessDescription
Number = 1684882241 readonly Selects best crop region of the content for the frame based on Adobe Sensei. Note: Preserves frame size but might scale the content size. If this fitting is set, centerImage property is turned-off.
Number = 1684883056 readonly Resizes content to fill the frame while preserving content proportions. If the content and frame have different proportions, some content is obscured by the bounding box of the frame.
Number = 1684883043 readonly Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.
Number = 1684883046 readonly Resizes the frame to fit the content.
Number = 1684883539 readonly Apply the frame fitting based on existing setting applied on the orginal frame.
Number = 1684885619 readonly Preserves the original sizes of the frame and the content. Note: Content that is larger than the frame is obscured around the edges.
Number = 1684885618 readonly Resizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space occurs in the frame.

Object of 1

Properties elsewhere that hold an Fitting value.