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