ChangeFontUnderlineCommand.execute Method
Executes the ChangeFontUnderlineCommand command with the specified parameter.
Declaration
execute(
fontUnderline?: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
fontUnderline | boolean | true to apply underline formatting to the text, false to remove underline formatting. |
Returns
Type | Description |
---|---|
boolean | true if the command has been successfully executed; false if the command execution has failed. |
Remarks
Usage example:
richEdit.commands.changeFontUnderline.execute(true);
See Also