Interface ImageToPdfOptions

An option for fromImage


  • ImageToPdfOptions


customPaperHeight?: number

Custom paper height, in mm

customPaperWidth?: number

Custom paper width, in mm

imageBehavior: ImageBehavior

Describes how image should be placed on the PDF page

paperSize: PdfPaperSize

Set an output paper size for PDF pages. Use customPaperWidth and customPaperHeight for custom sizes.

Default value is A4.

Generated using TypeDoc