Method AbsolutePositionToTextPoint
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
listIList<string>Strings collection to convert.
positionintSpecifies index of character if the text considered as a single string.
lineTerminatorstringSpecifies 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
positionintSpecifies 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.