IDWriteTextLayout.GetClusterMetrics

<summary> Retrieve logical properties and measurement of each cluster. </summary> <param name="clusterMetrics">The array to fill with cluster information.</param> <param name="maxClusterCount">The maximum size of the clusterMetrics array.</param> <param name="actualClusterCount">The actual size of the clusterMetrics array that is needed.</param> <returns> Standard HRESULT error code. </returns> <remarks> If maxClusterCount is not large enough E_NOT_SUFFICIENT_BUFFER, which is equivalent to HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), is returned and *actualClusterCount is set to the number of clusters needed. </remarks>

interface IDWriteTextLayout
extern (Windows)
HRESULT
GetClusterMetrics

Meta