puppeteer/docs/api/puppeteer.pdfoptions.width.md

239 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;}