ChangeTableFormattingCommand.execute(settings) Method
In This Article
Executes the ChangeTableFormattingCommand command with the specified parameter.
#Declaration
TypeScript
execute(
settings: TableFormattingSettings
): 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 example:
var tableSettings = {
alignment: ASPx.TableRowAlignment.Right,
indent: richEdit.unitConverter.pixelsToTwips(200),
allowSpacingBetweenCells: true,
spacingBetweenCells: richEdit.unitConverter.pixelsToTwips(3)
};
richEdit.commands.changeTableFormatting.execute(tableSettings);
See Also