AvalonEdit
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
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