TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetBookmark

Retrieve a bookmark name.

int TerGetBookmark( index)
int index;The index (0 to Total Bookmarks -1) of the bookmark to retrieve. Set to -1 to retrieve the total number of bookmarks in the document.

Upon a successful return from this method, the following information can be retrieved by using TerGetOutStr method:

String name;

The bookmark name.

Upon a successful return from this method, the name can be retrieve as following:

name=tej.TerGetOutStr("Name")

Return Value: This function returns the total number of bookmarks in the document.