puppeteer/website/versioned_docs/version-19.4.1/api/puppeteer.pdfoptions.omitbackground.md
2022-12-16 14:21:28 +01: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