MSHTML Classes: CFontFace


coclass: HTMLStyleFontFace {3050F3D4-98B5-11CF-BB82-00AA00BDCE0B}


Though the CFontFace class is not trivial, it implements no non-trivial COM interfaces. (Specifically, it implements QueryInterface to fail trivially, returning E_NOINTERFACE no matter what interface is sought.)


The CFontFace class does have a string table as if to name properties for scripting. One property is defined through this string table despite there being no code for it. In the table below, this property is highlighted as the usual indication of omission from Microsoft’s HTML and DHTML Reference.

Property Attribute Interface Member
fontsrc SRC IHTMLStyleFontFace get_fontsrc