Returns the closest text position to a given point in the document layout.

Namespace:  C1.Silverlight.RichTextBox
Assembly:  C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)

Syntax

C#
public C1TextPointer GetPositionFromPoint(
	Point point
)
Visual Basic
Public Function GetPositionFromPoint ( _
	point As Point _
) As C1TextPointer

Parameters

point
Type: System.Windows..::..Point
A Point.

Return Value

The closest text position to a given point in the document layout.

See Also