Gets the text view position from a point inside the editor.

C# | Visual Basic | Visual C++ |
public Nullable<TextViewPosition> GetPositionFromPoint( Point point )
Public Function GetPositionFromPoint ( _ point As Point _ ) As Nullable(Of TextViewPosition)
public: Nullable<TextViewPosition> GetPositionFromPoint( Point point )

- point (Point)
- The position, relative to top left corner of TextEditor control

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