Skip to main content
A newer version of this page is available. .

GoToBookmarkCommand.execute(name) Method

Executes the GoToBookmarkCommand command with the specified parameter.

Declaration

execute(
    name: string
): boolean

Parameters

Name Type Description
name string

A string value specifying the bookmark’s name

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

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