Exemple #1
0
 protected internal unsafe override bool OnPrintJob(CefBrowser browser, string documentName, string pdfFilePath, CefPrintJobCallback callback)
 {
     return(_implementation.OnPrintJob(browser, documentName, pdfFilePath, callback));
 }
Exemple #2
0
 /// <summary>
 /// Send the print job to the printer.
 /// </summary>
 /// <param name="browser">The browser.</param>
 /// <param name="documentName">The document name.</param>
 /// <param name="pdfFilePath"></param>
 /// <param name="callback">Execute <paramref name="callback"/> once the job is completed. </param>
 /// <returns>Return true if the job will proceed or false to cancel the job immediately.</returns>
 protected internal virtual bool OnPrintJob(CefBrowser browser, string documentName, string pdfFilePath, CefPrintJobCallback callback)
 {
     return(false);
 }
Exemple #3
0
 protected override bool OnPrintJob(CefBrowser browser, string documentName, string pdfFilePath, CefPrintJobCallback callback)
 {
     return(true);
 }