RichTextKit v0.4

HitTestResult.ClosestLine Field

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: HitTestResult

The zero based index of the closest line to the passed y-coordinate.

public int ClosestLine;


If the point is directly over a line this value will be the same as the OverLine property. If the point is before the first line, this property will be 0. If the point is after the last line this value will be the index of the last line.

Field Type


Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.