14 lines
662 B
Markdown
14 lines
662 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [PrintToPDFRequest](./puppeteer.protocol.page.printtopdfrequest.md) > [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;
|
|
```
|