ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.DirectWrite Namespace / TextAnalysisSource Interface / GetNumberSubstitution Method
The starting position from which to report.
Contains the length of the text, in characters, remaining in the text range up to the next differing number substitution.

In This Topic
    GetNumberSubstitution Method (TextAnalysisSource)
    In This Topic
    Gets the number substitution from the text range affected by the text analysis.
    Syntax
    'Declaration
     
    Function GetNumberSubstitution( _
       ByVal textPosition As System.Integer, _
       ByRef textLength As System.Integer _
    ) As NumberSubstitution
    NumberSubstitution GetNumberSubstitution( 
       System.int textPosition,
       out System.int textLength
    )

    Parameters

    textPosition
    The starting position from which to report.
    textLength
    Contains the length of the text, in characters, remaining in the text range up to the next differing number substitution.

    Return Value

    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.
    See Also