Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF Upgrade questions Options
anli
Posted: Tuesday, February 18, 2020 1:32:05 PM
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.
eo_support
Posted: Tuesday, February 18, 2020 5:14:47 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.