IBrowserHostPrintToPdf Method |
Version 130.1.90
Asynchronously prints the current browser contents to the Pdf file specified.
The caller is responsible for deleting the file when done.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax void PrintToPdf(
string path,
PdfPrintSettings settings,
IPrintToPdfCallback callback
)
void PrintToPdf(
String^ path,
PdfPrintSettings^ settings,
IPrintToPdfCallback^ callback
)
Parameters
- path String
- Output file location.
- settings PdfPrintSettings
- Print Settings, can be null
- callback IPrintToPdfCallback
- Callback executed when printing complete
See Also