ElectronWebContents.print method
ElectronWebContents › print
Unofficial
Prints the window's web page.Signature:
print(options?: ElectronWebContentsPrintOptions, callback?: (success: boolean, failureReason: string) => void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| options? | ElectronWebContentsPrintOptions | Options for printing. |
| callback? | (success: boolean, failureReason: string) => void | Called with whether printing succeeded and any failure reason. |
Returns: void