
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_length | get__newEnum |
| get_forFont | item |
HRESULT get_length(
long *p
);
Retrieves the number of elements in a collection.
This property is read-write on the areas and the options collection for image maps and select boxes, respectively. This allows a developer to shrink the collection.
HRESULT get__newEnum(
IUnknown **p
);
Returns an OLE enumeration interface. This will enumerate over the sizes in this collection.
HRESULT get_forFont(
BSTR *p
);
Returns a string of the font name that this collection of font sizes applies to.
HRESULT item(
long index,
long *plSize
);
Retrieves a single element or a collection from the collection. The index parameter determines which action to take.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.