IDWriteTextLayout.GetLocaleNameLength

<summary> Get the length of the locale name where the current position is at. </summary> <param name="currentPosition">The current text position.</param> <param name="nameLength">Size of the character array in character count not 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
GetLocaleNameLength

Meta