mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
837 B
Markdown
20 lines
837 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) > [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. |
|
|
|