UpdateTableOfContentsCommand.execute Method
In This Article
Executes the UpdateTableOfContentsCommand command.
#Declaration
TypeScript
execute(): boolean
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
Use the RichEditCommands.updateTableOfContents command to update the table of contents after its entries have been changed. If the current selection includes several tables of contents, the method updates the first one.
Usage example:
richEdit.commands.UpdateTableOfContents.execute();
See Also