mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
9fdf2ba280
Also took the opportunity to pull out the PDF types into their own file to clear up `Page.ts` slightly and give the PDF code a more natural place to live.
407 B
407 B
Home > puppeteer > PDFOptions > width
PDFOptions.width property
Sets the width of paper. You can pass in a number or a string with a unit.
Signature:
width?: string | number;