Rank: Newbie Groups: Member
Joined: 2/18/2020 Posts: 1
|
Hello, Just upgraded EO.Pdf to 20.0.53.0. Two questions:
1. Old version only required reference to Eo.pdf.dll. New version forced me to reference EO.Base.dll, EO.WebBrowser.dll, EO.WebEngline.dll. Are all these references really necessary? This is all my code:
EO.Pdf.Runtime.AddLicense(license); HtmlToPdfResult res = HtmlToPdf.ConvertHtml(contentHtml, path, opt);
2. Old code had HtmlToPdfOptions opt = new HtmlToPdfOptions(); opt.PreserveHighResImages = true;
which is now obsolete. Do I need to replace it with something else to achieve the same behavior?
Thank you.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
Yes. Those new DLLs are necessary. The older version is based on WebKit browser engine dated back in 2011. The new version is based on Google's Chromium browser engine and it has been constantly updated. The new engine is much more powerful but unfortunately also much bigger.
PreserveHighResImages is no longer supported in the current version due to the underlying change of the browser engine. You do not need to replace it with anything. You can simply remove it.
Thanks!
|