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

TerFindHlinkField

Locate the next hyperlink field.

bool TerFindHlinkField( CodePart1, CodePart2, ref pLine, ref pCol)
string CodePart1;The part of the hyperlink code or url to search for
string CodePart2;Another part of the hyperlink code or url to search for
int pLine;The line number to start the search. This variable also receives the line number of the hyperlink on successful search.
int pCol;The column number to start the search. This variable also receives the column number of the hyperlink on successful search.

Description: This function examines the hyperlinks in the document. A hyperlink is matched if either CodeString1 or CodeString2 is found in the hyperlink code or url.

Return Value: This function returns true when a hyperlink is located. On successful search, the line and column number of the hyperlink is returned using the pLine and pCol variables.