Skip to main content

CloseHeaderFooterCommand.execute Method

Executes the CloseHeaderFooterCommand command.

Declaration

execute(): boolean

Returns

Type Description
boolean

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

Remarks

//Creates a header and populate it with a text
richEdit.commands.insertHeader.execute();
richEdit.commands.insertText.execute("sometext");
richEdit.commands.closeHeaderFooter.execute();
See Also