@express-document-sdk

Interface: RescaleProportionalToHeightOptions

An interface for rescaling the node based on a given height when using Node.resize.

Extends

Properties

Property
Type
Description
Inherited from
avoidScalingVisualDetailsIfPossible
boolean
Whether to try to avoid scaling the content's visual styling (e.g. stroke width, corner detailing, etc.). Note that some kinds of content may not be able to avoid rescaling in some scenarios.
CommonResizeOptions.avoidScalingVisualDetailsIfPossible
behavior
proportional
-
-
height
number
-
-
width?
undefined
Instead of providing a width, it will be calculated by multiplying the given height by the current aspect ratio.
-