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

In This Topic
    GetCharFromPosition Method (ITextBoxBase)
    In This Topic
    Retrieves the character that is closest to the specified location within the control.
    Syntax
    'Declaration
     
    
    Function GetCharFromPosition( _
       ByVal pt As Point _
    ) As Char
    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