puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.width.md

16 lines
232 B
Markdown
Raw Normal View History

---
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;
}
```