GoToBookmarkCommand.execute(name) Method
In This Article
Executes the GoToBookmarkCommand command with the specified parameter.
#Declaration
TypeScript
execute(
name: string
): boolean
#Parameters
Name | Type | Description |
---|---|---|
name | string | A string value specifying the bookmark’s name |
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
richEdit.commands.goToBookmark.execute('bookmark1');
Each sub-document stores information about bookmarks located within in the array that you can access via the SubDocument.bookmarksInfo property.
See Also