IDWriteTextLayout.GetLineMetrics

<summary> GetLineMetrics returns properties of each line. </summary> <param name="lineMetrics">The array to fill with line information.</param> <param name="maxLineCount">The maximum size of the lineMetrics array.</param> <param name="actualLineCount">The actual size of the lineMetrics array that is needed.</param> <returns> Standard HRESULT error code. </returns> <remarks> If maxLineCount is not large enough E_NOT_SUFFICIENT_BUFFER, which is equivalent to HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), is returned and *actualLineCount is set to the number of lines needed. </remarks>

interface IDWriteTextLayout
extern (Windows)
HRESULT
GetLineMetrics

Meta