pl.wendigo.chrome.api.page / PrintToPDFResponse

PrintToPDFResponse

data class PrintToPDFResponse (source)

Represents response frame that is returned from Page#printToPDF operation call. Print page as PDF.

Link
Page#printToPDF method documentation.

See Also

PageOperations.printToPDF

Constructors

<init>

PrintToPDFResponse(data: String, stream: StreamHandle? = null)

Represents response frame that is returned from Page#printToPDF operation call. Print page as PDF.

Properties

data

val data: String

Base64-encoded pdf data. Empty if |returnAsStream| is specified.

stream

val stream: StreamHandle?

A handle of the stream that holds resulting PDF data.