Skip to main content

InsertTableOfFiguresCommand.execute Method

Executes the InsertTableOfFiguresCommand command.

Declaration

execute(): boolean

Returns

Type Description
boolean

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

Remarks

The RichEditCommands.insertTableOfFigures command generates a table based on numbered labels, which have been added to figures via RichEditCommands.insertFiguresCaption.

This command adds the { TOC \h \c “Figure”} field code at the current position in the document.

Usage example:

richEdit.commands.InsertTableOfFigures.execute();
See Also