Rank: Newbie Groups: Member
Joined: 6/24/2020 Posts: 4
|
Hello,
Could you please tell me how can I let use different temp folder in EO.Pdf.HtmlToPdf.ConvertHtml() and in EO.WebBrowser in different instances of my executable?
I need to protect myself from sharing the same temp folder in different instances of my application executable.
My application main functions are converting HTML files to PDF and printing HTML files.
Mikhael
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, You can use the following line to set cache path before you call anything else:
Code: C#
EO.WebEngine.EngineOptions.Default.CachePath = your_cache_path;
Make sure you set it to a different path for every instance of your application. This works both for EO.Pdf and EO.WebBrowser. Thanks!
|
Rank: Newbie Groups: Member
Joined: 6/24/2020 Posts: 4
|
Thank you!
|