RichTextBox for WPF | ComponentOne
C1.WPF.SpellChecker Namespace / CharRangeList Class / GetRangeFromPosition Method
Position within the text.

In This Topic
    GetRangeFromPosition Method (CharRangeList)
    In This Topic
    Gets the CharRange that contains a specified position within the text.
    Syntax
    'Declaration
     
    
    Public Function GetRangeFromPosition( _
       ByVal charPosition As Integer _
    ) As CharRange
    public CharRange GetRangeFromPosition( 
       int charPosition
    )

    Parameters

    charPosition
    Position within the text.

    Return Value

    A CharRange that contains the specified position, or null if there is no error at the specified position.
    See Also