How to access the user font settings of the Internet Explorer?

Posted by Mil on Stack Overflow See other posts from Stack Overflow or by Mil
Published on 2009-03-18T08:31:01Z Indexed on 2010/12/24 15:54 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

I would like to access the Internet Explorer user settings for fonts, especially the font family, within a Browser Helper Object written in C#.

I have looked into SHDocVw.WebBrowser and IHTMLDocument( to 5) but I don't see what I'm looking for or missing the property.

The BHO is for Internet Explorer 7.

Thank you very much!

Edit: Richard asks why I need this information: The font-family you can adjust in the IE7 settings is used if the given font-families by the HTML document or CSS are not installed on the system. I need this application-based font-family which is used to render the text in the last instance (if all other information fail).

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET