puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.width.md
2022-10-06 12:22:55 +02:00

16 lines
232 B
Markdown

---
sidebar_label: PDFOptions.width
---
# PDFOptions.width property
Sets the width of paper. You can pass in a number or a string with a unit.
**Signature:**
```typescript
interface PDFOptions {
width?: string | number;
}
```