ComponentOne MultiSelect for WinForms
C1.Win.Input Namespace / C1MaskedTextBox Class / GetCharIndexFromPosition Method
The location to search.

In This Topic
    GetCharIndexFromPosition Method (C1MaskedTextBox)
    In This Topic
    Retrieves the index of the character nearest to the specified location.
    Syntax
    'Declaration
     
    
    Public Function GetCharIndexFromPosition( _
       ByVal pt As Point _
    ) As Integer
    public int GetCharIndexFromPosition( 
       Point pt
    )

    Parameters

    pt
    The location to search.

    Return Value

    The zero-based character index at the specified location.
    See Also