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

In This Topic
    GetCharFromPosition Method (C1TextBox)
    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