Method GetPositionFromCharIndex
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
GetPositionFromCharIndex(int)
When implemented by a class, converts given character index to position as Point value.
Point GetPositionFromCharIndex(int charIndex)
Parameters
charIndex
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.