puppeteer/website/versioned_docs/version-18.0.3/api/puppeteer.pdfoptions.width.md
release-please[bot] 692b48ab0e
chore(main): release 18.0.3 (#8988)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-09-20 08:49:51 +00:00

232 B

sidebar_label
PDFOptions.width

PDFOptions.width property

Sets the width of paper. You can pass in a number or a string with a unit.

Signature:

interface PDFOptions {
  width?: string | number;
}