puppeteer/website/versioned_docs/version-17.1.1/api/puppeteer.pdfoptions.omitbackground.md

16 lines
253 B
Markdown
Raw Normal View History

---
sidebar_label: PDFOptions.omitBackground
---
# PDFOptions.omitBackground property
Hides default white background and allows generating pdfs with transparency.
**Signature:**
```typescript
interface PDFOptions {
omitBackground?: boolean;
}
```