TE Edit Control .NET Core / .NET Framework Help
Product page

TerGetHypertextEx

Retrieve the hypertext information at the cursor position.

bool TerGetHypertextEx( out text, out code, select)
bool TerGetHypertext2( LineNo, ColNo, out text, out code, select)
int LineNo;The line number to examine. Set to -1 to use the current line and current column number. The TerGetHypertextEx function automatically examines the current text position.
int ColNo;The text column number to examine.
string text;Pointer to receive the text part of the current hypertext
string code;Pointer to receive the hidden code part of the current hypertext.
bool select;true to select (highlight) the current hypertext code and phrase.

Return Value: This function returns true if hypertext is found at the current cursor location.