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

Returns the location of the character at the given index.

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

Parameters

index
Index of the character whose location we need to find.

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace