RichEditCommands.changeTableStyle Property
Gets a command to change the selected table’s style.
Declaration
get changeTableStyle(): ChangeTableStyleCommand
Property Value
Type | Description |
---|---|
ChangeTableStyleCommand | An object that provides methods that execute the command and check its state. |
Remarks
Call the execute(style) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.
richEdit.commands.changeTableStyle.execute(richEdit.document.tableStylesInfo[1]);
Table style settings are available via the RichEditDocument.tableStylesInfo property.
Refer to the following section for more information: Client Commands.
See Also