IDWriteFontList

<summary> The IDWriteFontList interface represents a list of fonts. </summary>

Members

Functions

GetFont
HRESULT GetFont(UINT32 index, IDWriteFont* font)

<summary> Gets a font given its zero-based index. </summary> <param name="index">Zero-based index of the font in the font list.</param> <param name="font">Receives a pointer to the newly created font object.</param> <returns> Standard HRESULT error code. </returns>

GetFontCollection
HRESULT GetFontCollection(IDWriteFontCollection* fontCollection)

<summary> Gets the font collection that contains the fonts. </summary> <param name="fontCollection">Receives a pointer to the font collection object.</param> <returns> Standard HRESULT error code. </returns>

GetFontCount
UINT32 GetFontCount()

<summary> Gets the number of fonts in the font list. </summary>

Meta