IDWriteFontCollection.FindFamilyName

<summary> Finds the font family with the specified family name. </summary> <param name="familyName">Name of the font family. The name is not case-sensitive but must otherwise exactly match a family name in the collection.</param> <param name="index">Receives the zero-based index of the matching font family if the family name was found or UINT_MAX otherwise.</param> <param name="exists">Receives TRUE if the family name exists or FALSE otherwise.</param> <returns> Standard HRESULT error code. If the specified family name does not exist, the return value is S_OK, but *index is UINT_MAX and *exists is FALSE. </returns>

interface IDWriteFontCollection
extern (Windows)
HRESULT
FindFamilyName
(
const(WCHAR)* familyName
,
UINT32* index
,
BOOL* exists
)

Meta