I am using a System.Windows.Forms.WebBrowser in my application.
I want the user to be able to change the text size, just like it can be done when using IExplorer.
(If you click the ‘View’ on the menu, and then ‘Text Size’, you can choose between 5 different sizes of text).
I tried the following:
Code:
webBrowser1.Document.ExecCommand("FontSize", false, "2");
But, it worked only on selected text, and value of font size can be from 1-7, so it’s not really the same.
Is there some other way?