NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBox.GetCharFromPosition

Returns the character nearest to the given point.

[Visual Basic]
Public Function GetCharFromPosition( _
   ByVal pt As Point _
) As Char
[C#]
public char GetCharFromPosition(
   Point pt
);
[C++]
public: __wchar_t GetCharFromPosition(
   Point pt
);
[JScript]
public function GetCharFromPosition(
   pt : Point
) : Char;

Parameters

pt
Point at which we need to locate character from.

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace