IDWriteTextAnalysisSink.SetNumberSubstitution

<summary> Set number substitution on the range. </summary> <param name="textPosition">Starting position to report from.</param> <param name="textLength">Number of UTF16 units of the reported range.</param> <param name="numberSubstitution">The number substitution applicable to the returned range of text. The sink callback may hold onto it by incrementing its ref count.</param> <returns> A successful code or error code to abort analysis. </returns> <remark> Unlike script and bidi analysis, where every character passed to the analyzer has a result, this will only be called for those ranges where substitution is applicable. For any other range, you will simply not be called. </remark>

interface IDWriteTextAnalysisSink
extern (Windows)
HRESULT
SetNumberSubstitution

Meta