Optional
displayOptional
footerOptional
formatOne of Html2PdfFormats.
If set, takes priority over width
or height
options.
If neither format
, nor width
or height
are set, A4 is used as fallback.
Optional
headerOptional
heightOnly takes effect if no format
is set
Optional
landscapeOptional
marginOptional
bottom?: string | numberOptional
left?: string | numberOptional
right?: string | numberOptional
top?: string | numberOptional
widthOnly takes effect if no format
is set
Generated using TypeDoc
See Pupeteer docs for further details regarding the exposed options.
Note:
You can only use the options mentioned here even though the Pupeteer docs describe some more.
Please let us know if you'd need other options as well.