- Daniel Vivier
- PowerBuilder
- Thursday, 22 October 2020 05:36 PM UTC
I'm considering testing the new WebBrowser control to see whether it can be used to invisibly load HTML files then save them as PDF. The idea would be to load the HTML into an invisible WebBrowser with Navigate(), then when that is complete, print them with PrintAsPDF().
The only problem is it doesn't seem at all clear from the documentation how you know when the navigation is completed, so that the PrintAsPDF can be done. (There's a very clear event to know when the PDF is done, PDFPrintFinished.)
Help, please? Also, if anyone has done this and can tell us how successful it was, that would be great!
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.