Share via


IHTMLFontElement interface

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

Members

The IHTMLFontElement interface inherits from the IDispatch interface. IHTMLFontElement also has these types of members:

  • Properties

Properties

The IHTMLFontElement interface has these properties.

Property Description

color

Sets or retrieves the color to be used by the object.

face

Sets or retrieves the current typeface family.

size

Sets or retrieves the font size of the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch