TerGetHypertextEx
Retrieve the hypertext information at the cursor position.
boolean TerGetHypertextEx(select)
boolean TerGetHypertext2( LineNo, ColNo, 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. |
boolean select; | true to select (highlight) the current hypertext code and phrase. |
Upon a successful return from this method, the following information can be retrieved by using TerGetOutStr method:
String text; | The text part of the current hypertext Upon successful return, You retrieve the hyperlink text as following: text=tej.TerGetOutStr("Text"); |
String code; | The hidden code part of the current hypertext. Upon successful return, You retrieve the hypertext code or url as following: code=tej.TerGetOutStr("FieldCode"); |
Return Value: This function returns true if hypertext is found at the current cursor location.