ChangeTableCellShadingCommand.execute(color) Method
Executes the ChangeTableCellShadingCommand command with the specified parameter.
Declaration
execute(
color: string
): boolean
Parameters
| Name | Type | Description |
|---|---|---|
| color | string | A string specifying the color of the selected cells’ shading. May be specified as a color name or a hex color value. |
Returns
| Type | Description |
|---|---|
| boolean |
|
Remarks
Usage example:
richEdit.commands.changeTableCellShading.execute("gray");
richEdit.commands.changeTableCellShading.execute("#808080");
See Also