Method GetTextAt
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
GetTextAt(int, int)
When implemented by a class, returns word at the specific text position.
string GetTextAt(int pos, int line)
Parameters
pos
intSpecifies an index of the line.
line
intSpecifies an index of character in the text string.
Returns
- string
Word found at the specified position.
GetTextAt(Point)
When implemented by a class, returns word at the specific text position.
string GetTextAt(Point position)
Parameters
position
PointThe Point value that specifies position in the text.
Returns
- string
Word found at the specified position.