ComponentOne SpellChecker for WinForms
C1.Win.C1SpellChecker.4.8 Assembly / C1.Win.C1SpellChecker 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 System.Integer _
    ) As CharRange
    public CharRange GetRangeFromPosition( 
       System.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