puppeteer/docs/api/puppeteer.pdfoptions.omitbackground.md

260 B

sidebar_label
PDFOptions.omitBackground

PDFOptions.omitBackground property

Hides default white background and allows generating pdfs with transparency.

Signature:

interface PDFOptions {omitBackground?: boolean;}