Gets the text view position from a point inside the editor.
![](../icons/collapse_all.gif)
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 )
![](../icons/collapse_all.gif)
- point (Point)
- The position, relative to top left corner of TextEditor control
![](../icons/collapse_all.gif)
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