Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp image helper.iimagehelperrequest.height

John Nguyen edited this page Aug 19, 2021 · 1 revision

Home > @microsoft/sp-image-helper > IImageHelperRequest > height

IImageHelperRequest.height property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Optional height of the image requested

Signature:

height?: number;

Remarks

By default, the image height would be based on the width while maintaining the aspect ratio for the image. (This provides the image with the quickest response.) When the height is specified, the width is not adjusted to the nearest larger resolution breakpoint.

Clone this wiki locally