IDWriteTextLayout.GetFontFamilyName

<summary> Copy the font family name where the current position is at. </summary> <param name="currentPosition">The current text position.</param> <param name="fontFamilyName">Character array that receives the current font family name</param> <param name="nameSize">Size of the character array in character count including the terminated NULL character.</param> <param name="textRange">The position range of the current format.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextLayout
extern (Windows)
HRESULT
GetFontFamilyName

Meta