puppeteer/website/versioned_docs/version-19.1.2/api/puppeteer.pdfoptions.omitbackground.md
2022-10-25 11:12:17 +02:00

282 B

sidebar_label
PDFOptions.omitBackground

PDFOptions.omitBackground property

Hides default white background and allows generating pdfs with transparency.

Signature:

interface PDFOptions {
  omitBackground?: boolean;
}

Default value:

false