Gets the visual position from a text view position.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public Point GetVisualPosition( TextViewPosition position, VisualYPosition yPositionMode )
Public Function GetVisualPosition ( _ position As TextViewPosition, _ yPositionMode As VisualYPosition _ ) As Point
public: Point GetVisualPosition( TextViewPosition position, VisualYPosition yPositionMode )
Parameters
- position (TextViewPosition)
- The text view position.
- yPositionMode (VisualYPosition)
- The mode how to retrieve the Y position.
Return Value
The position in WPF device-independent pixels relative
to the top left corner of the document.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238