InsertHeaderCommand.execute Method
Executes the InsertHeaderCommand command.
Declaration
execute(): boolean
Returns
Type | Description |
---|---|
boolean |
|
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