ChangeFontBackColorCommand.execute(color) Method
In This Article
Executes the ChangeFontBackColorCommand command with the specified parameter.
#Declaration
TypeScript
execute(
color: string
): boolean
#Parameters
Name | Type | Description |
---|---|---|
color | string | A string specifying the background font color. May be specified as a color name or a hex color value. |
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
Usage example:
richEdit.commands.changeFontBackColorCommand.execute("red");
richEdit.commands.changeFontBackColorCommand.execute("#FF0000");
See Also