Hypertext.getLinkIndex

int getLinkIndex(int charIndex)

Gets the index into the array of hyperlinks that is associated with the character specified by char_index.

Parameters

charIndexa character index

Returns

an index into the array of hyperlinks in hypertext,

or -1 if there is no hyperlink associated with this character.