Method AbsolutePositionToTextPoint
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
AbsolutePositionToTextPoint(IList<string>, int, string)
Converts given absolute position to position as Point value.
public static Point AbsolutePositionToTextPoint(IList<string> list, int position, string lineTerminator)
Parameters
list
IList<string>Strings collection to convert.
position
intSpecifies index of character if the text considered as a single string.
lineTerminator
stringSpecifies line terminator.
Returns
- Point
Point value where Y-Coordinate represents index of line and X-Coordinate - index of character in this line.
AbsolutePositionToTextPoint(int)
Converts given absolute position to position as Point value.
public virtual Point AbsolutePositionToTextPoint(int position)
Parameters
position
intSpecifies index of character if the text considered as a single string.
Returns
- Point
Point value where Y-Coordinate represents index of line and X-Coordinate - index of character in this line.