ChangeTableBordersAndShadingCommand.execute(settings, applyToWholeTable) Method
In This Article
Executes the ChangeTableBordersAndShadingCommand command with the specified parameters.
#Declaration
TypeScript
execute(
settings: TableBordersSettings,
applyToWholeTable: boolean
): boolean
#Parameters
Name | Type | Description |
---|---|---|
settings | Table |
A Table |
apply |
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