Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCharFromPosition Method

MaskedTextBox.GetCharFromPosition Method

This member overrides TextBoxBase.GetCharFromPosition(Point), and more complete documentation might be available in that topic.

Retrieves the character that is closest to the specified location within the control.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

abstract GetCharFromPosition : 
        pt:Point -> char  
override GetCharFromPosition : 
        pt:Point -> char


Type: System.Drawing.Point

The location from which to seek the nearest character.

Return Value

Type: System.Char
The character at the specified location.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft