Click to return to the Reusing Browser Technology home page    
IHTMLFiltersCollection::i...     IHTMLFontElement::get_col...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLFontElement Interface


This interface specifies a new font face, size, and color to be used for rendering the enclosed text.

IHTMLFontElement Methods

get_color Retrieves the color used by the font.
get_face Retrieves the current font's typeface.
get_size Retrieves the current font size for the text of the element.
put_color Sets the color to be used by the font.
put_face Sets the typeface to use for the text of the element.
put_size Sets the font size for the text of the element.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.