puppeteer/new-docs/puppeteer.protocol.page.printtopdfrequest.margintop.md

14 lines
546 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; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [PrintToPDFRequest](./puppeteer.protocol.page.printtopdfrequest.md) &gt; [marginTop](./puppeteer.protocol.page.printtopdfrequest.margintop.md)
## Protocol.Page.PrintToPDFRequest.marginTop property
Top margin in inches. Defaults to 1cm (\~0.4 inches).
<b>Signature:</b>
```typescript
marginTop?: number;
```