AvalonEdit
GetPositionFromPoint Method (point)
NamespacesICSharpCode.AvalonEditTextEditorGetPositionFromPoint(Point)
Gets the text view position from a point inside the editor.
Declaration Syntax
C#Visual BasicVisual C++
public Nullable<TextViewPosition> GetPositionFromPoint(
	Point point
)
Public Function GetPositionFromPoint ( _
	point As Point _
) As Nullable(Of TextViewPosition)
public:
Nullable<TextViewPosition> GetPositionFromPoint(
	Point point
)
Parameters
point (Point)
The position, relative to top left corner of TextEditor control
Return Value
The text view position, or null if the point is outside the document.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238