Options for fitting content to a frame.
Name |
Description |
Value |
---|---|---|
Applies the current frame fitting options to the frame and content. Before using this, do confirm that the expected Frame Fitting Options are applied on the frame. For example, the act of placing an image in a frame set to 'Fit Content Proportionally' can change the crop settings in the Frame Fitting Options, which would then get applied for any subsequent image placement when this API is called. |
1634100847 |
|
Centers content in the frame; preserves the frame size as well as content size and proportions. Note: If the content is larger than the frame, content around the edges is obscured. |
1667591779 |
|
Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed. |
1668575078 |
|
Resizes content to fill the frame while perserving the proportions of the content. If the content and frame have different proportions, some of the content is obscured by the bounding box of the frame. |
1718185072 |
|
Resizes the frame so it fits the content. |
1718906723 |
|
Resizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space appears in the frame. |
1668247152 |