Welcome Guest Search | Active Topics | Sign In | Register

Private Mode support in the EO.pdf using HtmlToPdf.ConvertUrl() Options
Prasant Maharjan
Posted: Wednesday, June 18, 2025 6:20:17 AM
Rank: Newbie
Groups: Member

Joined: 10/12/2022
Posts: 1
We are currently using EO.Pdf version 22.1.24. In this version:
-Engine.Create() only supports a string parameter.
-new WebView() does not support any constructor.

According to the AI and browser engine documentation, private mode (incognito) is supported in the latest EO.Pdf version.
Could you please provide the correct DLLs (version) or sample code that supports private/incognito mode during PDF generation?
eo_support
Posted: Wednesday, June 18, 2025 4:14:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,383
Hi,

I am assuming that you are using EO.WebBrowser instead of EO.Pdf since you can not interact with the Engine object directly using EO.Pdf (since Engine objects are automatically managed by EO.Pdf internally).

With EO.WebBrowser, you can support private mode by using a separate engine. You would do this by directly setting the WebView's Engine property BEFORE it is being initialized. For example:

Code: C#
//Here engine is an Engine object previously created
//through Engine.Create
WebView webView = new WebView();
webView.Engine = engine;

//Assign the WebView to a WebControl so that when the
//WebControl initializes it will initialize the WebView
webControl.WebView = webView;


We do not see any order associated to your account. We provide free tech support for one year after your order unless you have renewed your maintenance plans to current. As such if you have never renewed, you will not be eligible to receive tech support based on your 2022 license. If you have a newer order or have renewed your maintenance for your existing order, please PM us with your order number so that we can double check it for you.

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.