|
Rank: Newbie Groups: Member
Joined: 4/2/2015 Posts: 9
|
I use EO.WebBrowser control in a winform C# app to load a website but the font size is too small. How can I increate the font size of wbsite langer, I use this but not success public Form1() { InitializeComponent(); EO.WebBrowser.BrowserOptions options = new EO.WebBrowser.BrowserOptions(); options.AllowZooming = true; webView1.ZoomFactor = 5; }
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, There appears to be a problem with setting ZoomFactor before the page is loaded. You can try the following code and see if it works:
Code: C#
webView1.LoadUrlAndWait(your_url);
webView1.ZoomFactor = 5;
We will continue to investigate on our end to see why it doesn't work properly if you set it early. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/2/2015 Posts: 9
|
Thank you for your reply, This work but when I set webview url in InitializeComponent() , then it not work.
|
|