puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.pdfoptions.omitbackground.md
2022-11-03 11:02: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