mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
9fdf2ba280
Also took the opportunity to pull out the PDF types into their own file to clear up `Page.ts` slightly and give the PDF code a more natural place to live.
17 lines
415 B
Markdown
17 lines
415 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [PDFOptions](./puppeteer.pdfoptions.md) > [format](./puppeteer.pdfoptions.format.md)
|
|
|
|
## PDFOptions.format property
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
format?: PaperFormat;
|
|
```
|
|
|
|
## Remarks
|
|
|
|
If set, this takes priority over the `width` and `height` options.
|
|
|