ChangeFontBoldCommand.execute Method
Executes the ChangeFontBoldCommand command with the specified parameter.
Declaration
execute(
fontBold?: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
fontBold | boolean | true to apply bold formatting to the text, false to remove bold 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.changeFontBold.execute(true);
See Also