Gets the visual top from the specified text line.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public double GetTextLineVisualYPosition( TextLine textLine, VisualYPosition yPositionMode )
Public Function GetTextLineVisualYPosition ( _ textLine As TextLine, _ yPositionMode As VisualYPosition _ ) As Double
public: double GetTextLineVisualYPosition( TextLine^ textLine, VisualYPosition yPositionMode )
Parameters
- textLine (TextLine)
- yPositionMode (VisualYPosition)
Return Value
Distance in device-independent pixels
from the top of the document to the top of the specified text line.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238