Click to return to the Reusing Browser Technology home page    
IHTMLFontNamesCollection:...     IHTMLFontSizesCollection:...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLFontSizesCollection Interface


This interface is for the collection of all the font sizes available for a font on the system. The collection of fonts and sizes that this is built from is maintained in the IHTMLOptionsHolder object. This interface is returned when that collection is accessed.

IHTMLFontSizesCollection Methods

get__newEnum Returns an OLE enumeration interface. This will enumerate over the sizes in this collection.
get_forFont Returns a string of the font name that this collection of font sizes applies to.
get_length Retrieves the number of elements in a collection.
item Retrieves a single element or a collection of elements. The index parameter determines which action to take.

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.