puppeteer/website/versioned_docs/version-15.3.1/api/puppeteer.pdfoptions.format.md

18 lines
235 B
Markdown
Raw Normal View History

---
sidebar_label: PDFOptions.format
---
# PDFOptions.format property
**Signature:**
```typescript
interface PDFOptions {
format?: PaperFormat;
}
```
## Remarks
If set, this takes priority over the `width` and `height` options.