ComponentOne TreeMap for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1Editor.C1SpellChecker Namespace / CharRangeList Class / GetRangeIndexFromPosition Method
Position within the text.

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

    Parameters

    charPosition
    Position within the text.

    Return Value

    Index of the CharRange in the list that contains the specified position, or -1 if there is no error at the specified position.
    See Also