The dynamic size settings control how the canvas size can be adjusted by the user.

Hierarchy

  • DynamicSizeSettings

Properties

maintainAspectRatio: boolean

Flag to control if the user can adjust the canvas size for each page individually or if the aspect ratio for all pages need to be the same. If the aspect ratio can be adjusted it will give the most freedom to the user, and this is the mode required to match file upload in MegaEdit.

maxHeight: number

The maximum height of the canvas in points.

maxWidth: number

The maximum width of the canvas in points.

minHeight: number

The minimum height of the canvas in points.

minWidth: number

The minimum width of the canvas in points.

sameForAllPages: boolean

Flag to control if the size of all pages should be identical or if each page can have a different size.

stepHeight: boolean

Step value by which the height should be increased in points when the user adjusts the height (UI only, not enforced).

stepWidth: boolean

Step value by which the width should be increased in points when the user adjusts the width (UI only, not enforced).

Generated using TypeDoc