I am trying to change the display font of a WebBrowser control.
I tried
doc.execCommand("FontName", false, "Arial");
But it seems to work for the selected text.
I want the exact same effect as setting the font inside IE → Internet Options → General → Appearance → Fonts.
Thanks in advance.
Byoungjo
-------- Update -------------
As Mitchell noted, doing the same job that ExeWB does in C # .Net is the goal.
In addition, modifying the registry is somewhat overloaded for this and may require a simpler solution, if one exists. Otherwise, I just say no to this FR.
source
share