InsertTableOfContentsCommand.execute Method
In This Article
Executes the InsertTableOfContentsCommand command.
#Declaration
TypeScript
execute(): boolean
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
This command adds the { TOC \h \u} field code at the current position in the document.
Usage Example:
richEdit.commands.insertTableOfContents.execute();
See Also