puppeteer/website/versioned_docs/version-19.5.1/api/puppeteer.pdfoptions.omitbackground.md
2023-01-11 16:26:44 +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