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

In This Topic
    GetCharIndexFromPosition Method (C1NumericEdit)
    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