printToPDF

abstract fun printToPDF(options: PrintToPDFOptions): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for Uint8Array<*>>(source)

Resolves with the generated PDF data.

Prints webview's web page as PDF, Same as webContents.printToPDF(options).