puppeteer/docs/api/puppeteer.pdfoptions.width.md

16 lines
233 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
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:
2022-07-05 13:41:43 +00:00
```typescript
interface PDFOptions {
width?: string | number;
}
```