puppeteer/website/versioned_docs/version-9.1.1/puppeteer.pdfoptions.width.md

14 lines
394 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [PDFOptions](./puppeteer.pdfoptions.md) &gt; [width](./puppeteer.pdfoptions.width.md)
## PDFOptions.width property
Sets the width of paper. You can pass in a number or a string with a unit.
<b>Signature:</b>
```typescript
width?: string | number;
```