Gets a command to apply borders' drawing settings.
readonly changeTableBorderRepositoryItem: ChangeTableBorderRepositoryItemCommand
Type | Description |
---|---|
ChangeTableBorderRepositoryItemCommand | An object that provides methods that execute the command and check its state. |
Call the execute(settings) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.
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.