IDWriteFontFamily.GetFirstMatchingFont

<summary> Gets the font that best matches the specified properties. </summary> <param name="weight">Requested font weight.</param> <param name="stretch">Requested font stretch.</param> <param name="style">Requested font style.</param> <param name="matchingFont">Receives a pointer to the newly created font object.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteFontFamily
extern (Windows)
HRESULT
GetFirstMatchingFont

Meta