GetTextLineVisualYPosition Method (textLine, yPositionMode)
NamespacesICSharpCode.AvalonEdit.RenderingVisualLineGetTextLineVisualYPosition(TextLine, VisualYPosition)
Gets the visual top from the specified text line.
Declaration Syntax
C#Visual BasicVisual C++
public double GetTextLineVisualYPosition(
	TextLine textLine,
	VisualYPosition yPositionMode
Public Function GetTextLineVisualYPosition ( _
	textLine As TextLine, _
	yPositionMode As VisualYPosition _
) As Double
double GetTextLineVisualYPosition(
	TextLine^ textLine, 
	VisualYPosition yPositionMode
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: