BookmarkBase Class

A bookmark in the document.

Declaration

export class BookmarkBase extends Bookmark

Inherited Members

Inheritance

Bookmark
BookmarkBase

Methods

goTo Method

Selects the bookmark.

Declaration

goTo(): void

Remarks

The goTo method selects the bookmark's text interval, scrolls the page to the selected start position, and activates the bookmark's sub-document.

var bookmark = richEdit.document.bookmarks.find('bookmarkName')[0];
if (bookmark)
    bookmark.goTo();
See Also