ChangeTableBorderRepositoryItemCommand.execute(settings) Method
In This Article
Executes the ChangeTableBorderRepositoryItemCommand command with the specified parameter.
#Declaration
TypeScript
execute(
settings: TableBorderSettings
): boolean
#Parameters
Name | Type | Description |
---|---|---|
settings | Table |
A Table |
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
The command includes size parameters assigned in twips. Use the ASPxClientRichEdit.unitConverter to convert size measure units (inches, points, pixels, centimeters) to twips.
Usage examples:
var bordersWidth = richEdit.unitConverter.pointsToTwips(0.5);
richEdit.commands.changeTableBorderRepositoryItem.execute({color: "red", width: bordersWidth, style: ASPx.BorderLineStyle.Dashed});
To modify the applied settings using the Rich Edit Ribbon, use the Borders & Shadings group of the Design context tab.
See Also