IHTMLOptionsHolder::fonts Property

Retrieves a collection of all the system-supported fonts.

Syntax

HRESULT IHTMLOptionsHolder::get_fonts(IHTMLFontNamesCollection **p);

Parameters

  • p
    Address of a pointer to an IHTMLFontNamesCollection interface that receives the collection of system-supported fonts.

Return Value

Returns S_OK if successful, or an error value otherwise.