Fitting

Options for fitting content to a frame.

Values

Name

Description

Value

Fitting.CONTENT_AWARE_FITTING

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.

1684882241

Fitting.FILL_PROPORTIONAL

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.

1684883056

Fitting.FIT_CONTENT_TO_FRAME

Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.

1684883043

Fitting.FIT_FRAME_TO_CONTENT

Resizes the frame to fit the content.

1684883046

Fitting.HONOUR_EXISTING_STYLE

Apply the frame fitting based on existing setting applied on the orginal frame.

1684883539

Fitting.PRESERVE_SIZES

Preserves the original sizes of the frame and the content. Note: Content that is larger than the frame is obscured around the edges.

1684885619

Fitting.PROPORTIONAL

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.

1684885618

Object of

DataMergeOption.fittingOption