ChangeTableBordersAndShadingCommand.execute(settings, applyToWholeTable) Method
Executes the ChangeTableBordersAndShadingCommand command with the specified parameters.
Declaration
execute(
settings: TableBordersSettings,
applyToWholeTable: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
settings | TableBordersSettings | A TableBorderSettings object with settings specifying table borders. |
applyToWholeTable | boolean |
|
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Usage example:
var topBordersSettings = {color: "red", width: 2, style: ASPx.BorderLineStyle.Dashed};
rich.commands.changeTableBordersAndShading.execute({top: topBordersSettings, backgroundColor: "green"}, true)
See Also