Edit in GitHubLog an issue

@express-document-sdk / ResizeUsingHeightOptions

Interface: ResizeUsingHeightOptions

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

Extends

Properties

avoidScalingVisualDetailsIfPossible

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.

Inherited from

CommonResizeOptions.avoidScalingVisualDetailsIfPossible


behavior

behavior: contain | cover


height

height: number


width?

optional width: number

If a width is not provided, it will be calculated by multiplying the given height by the current aspect ratio.

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.