cut

RichEditCommands.changeTableCellShading Property

Gets a command to change cell shading in selected table cells.

Declaration

readonly changeTableCellShading: ChangeTableCellShadingCommand

Property Value

Type Description
ChangeTableCellShadingCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute(color) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

Usage examples:


richEdit.commands.changeTableCellShading.execute("gray");
richEdit.commands.changeTableCellShading.execute("#808080");
See Also