puppeteer/new-docs/puppeteer.protocol.page.printtopdfrequest.prefercsspagesize.md
2020-07-13 14:01:35 +01:00

14 lines
662 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [PrintToPDFRequest](./puppeteer.protocol.page.printtopdfrequest.md) &gt; [preferCSSPageSize](./puppeteer.protocol.page.printtopdfrequest.prefercsspagesize.md)
## Protocol.Page.PrintToPDFRequest.preferCSSPageSize property
Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size.
<b>Signature:</b>
```typescript
preferCSSPageSize?: boolean;
```