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

20 lines
837 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; [PrintToPDFResponse](./puppeteer.protocol.page.printtopdfresponse.md)
## Protocol.Page.PrintToPDFResponse interface
<b>Signature:</b>
```typescript
export interface PrintToPDFResponse
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [data](./puppeteer.protocol.page.printtopdfresponse.data.md) | string | Base64-encoded pdf data. Empty if \|returnAsStream\| is specified. |
| [stream](./puppeteer.protocol.page.printtopdfresponse.stream.md) | [IO.StreamHandle](./puppeteer.protocol.io.streamhandle.md) | A handle of the stream that holds resulting PDF data. |