[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextAnalysisSource.GetNumberSubstitution

GetNumberSubstitution Method

GetNumberSubstitution(int, out int)

Gets the number substitution from the text range affected by the text analysis.

Declaration
NumberSubstitution GetNumberSubstitution(int textPosition, out int textLength)
Parameters
Type Name Description
int textPosition

The starting position from which to report.

int textLength

Contains the length of the text, in characters, remaining in the text range up to the next differing number substitution.

Returns
Type Description
NumberSubstitution

the number substitution from the text range affected by the text analysis.

Remarks

Any implementation should return the number substitution with an incremented reference count, and the analysis will release when finished with it (either before the next call or before it returns). However, the sink callback may hold onto it after that.