Gets the text view position from the specified visual position.
If the position is within a character, it is rounded to the next character boundary.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public TextViewPosition GetTextViewPosition( Point visualPosition, bool allowVirtualSpace )
Public Function GetTextViewPosition ( _ visualPosition As Point, _ allowVirtualSpace As Boolean _ ) As TextViewPosition
public: TextViewPosition GetTextViewPosition( Point visualPosition, bool allowVirtualSpace )
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238