Link to home
Start Free TrialLog in
Avatar of graga
graga

asked on

C# to Delphi code translation for Amyuni HTML to PDF sample

I have downloaded free Amyuni WebkitPDF from here:
http://www.amyuni.com/en/webkitpdf/

The example that comes with it is written in C# and I need to translate it to Delphi 7.

As the minimum, I need a working code in Delphi 7 that will:

1. Open URL or local HTML file
2. Save it to a PDF file.

or using the dll calls:

1. WKPDFInitialize
2. WKPDFOpenURL
3. WKPDFSaveToFile
4. WKPDFTerminate
ASKER CERTIFIED SOLUTION
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of graga
graga

ASKER

Thanks for the solution. It works fine on web pages, but I can't make it work on local files, like  'file:\\\c:\test.html'. The C# example works fine for local files. Can you look into it as well?