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

14 lines
394 B
Markdown
Raw Normal View History

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