Method ScreenToText
ScreenToText(Point)
Converts given screen coordinates to text coordinates (index of line and character).
public virtual Point ScreenToText(Point position)
Parameters
position
PointThe screen coordinate Point to convert.
Returns
- Point
The Point representing text coordinate.
ScreenToText(double, double, ref bool)
Converts given screen coordinates to text coordinates (index of line and character).
public virtual Point ScreenToText(double x, double y, ref bool lineEnd)
Parameters
x
doubleHorizontal screen coordinate to convert.
y
doubleVertical screen coordinate to convert.
lineEnd
boolReceives boolean value indicating if the caret is at the line end of the wrapped line.
Returns
- Point
The Point representing text coordinate.
ScreenToText(double, double)
Converts given screen coordinates to text coordinates (index of line and character).
public virtual Point ScreenToText(double x, double y)
Parameters
Returns
- Point
The Point representing text coordinate.