InsertTableOfContentsCommand.execute Method
Executes the InsertTableOfContentsCommand command.
Declaration
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