Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / ITextBoxBase Interface / GetLineFromCharIndex Method
The character index position to search.

In This Topic
    GetLineFromCharIndex Method (ITextBoxBase)
    In This Topic
    Retrieves the line number from the specified character position within the text of the control.
    Syntax
    'Declaration
     
    
    Function GetLineFromCharIndex( _
       ByVal index As Integer _
    ) As Integer
    int GetLineFromCharIndex( 
       int index
    )

    Parameters

    index
    The character index position to search.

    Return Value

    The zero-based line number in which the character index is located.
    See Also