EnumFitting

Options for fitting content to a frame.

Static Properties

Name Description
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.
FIT_CONTENT_TO_FRAME Resizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.
FIT_FRAME_TO_CONTENT Resizes the frame to fit the content.
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.
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.