Printing from Chromium Embedded Framework 3

876 views Asked by At

In an older DCEF (v1) project, I used this line to print:

  Chromium1.Browser.MainFrame.Print;

I'm now working with DCEF3 in a Delphi 2010 project. I know earlier versions of CEF3 didn't print, but is there a way to do this now? So far no where that I've looked has shown how. Thanks.

1

There are 1 answers

0
Victoria On BEST ANSWER

In DCEF3 it is:

Chromium1.Browser.Host.Print;

In CEF3, the Print method has been moved to the CefBrowserHost class, which is accessible by the above code line in DCEF3.