Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / C1TextBoxBase Class / GetCharFromPosition Method
The location from which to seek the nearest character.

In This Topic
    GetCharFromPosition Method (C1TextBoxBase)
    In This Topic
    Retrieves the character that is closest to the specified location within the control.
    Syntax
    'Declaration
     
    
    Public Function GetCharFromPosition( _
       ByVal pt As Point _
    ) As Char
    public char GetCharFromPosition( 
       Point pt
    )

    Parameters

    pt
    The location from which to seek the nearest character.

    Return Value

    The character at the specified location.
    See Also