ComponentOne MultiSelect for WinForms
C1.Win.Input Namespace / C1MaskedTextBox Class / GetLineFromCharIndex Method
The character index position to search.

In This Topic
    GetLineFromCharIndex Method (C1MaskedTextBox)
    In This Topic
    Retrieves the line number from the specified character position within the text of the control.
    Syntax
    'Declaration
     
    
    Public Function GetLineFromCharIndex( _
       ByVal index As Integer _
    ) As Integer
    public 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