PrintToPDFResponse

@Serializable
data class PrintToPDFResponse(val data: String, val stream: StreamHandle? = null)

Response type for the PageDomain.printToPDF command.

Constructors

Link copied to clipboard
constructor(data: String, stream: StreamHandle? = null)

Properties

Link copied to clipboard

Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)

Link copied to clipboard
val stream: StreamHandle? = null

A handle of the stream that holds resulting PDF data.