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.GetCharIndexFromPosition

Returns the index of the character nearest to the given point.

[Visual Basic]
Public Function GetCharIndexFromPosition( _
   ByVal pt As Point _
) As Integer
[C#]
public int GetCharIndexFromPosition(
   Point pt
);
[C++]
public: int GetCharIndexFromPosition(
   Point pt
);
[JScript]
public function GetCharIndexFromPosition(
   pt : Point
) : int;

Parameters

pt
[To be supplied.]

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace