Skip to main content
A newer version of this page is available. .
cut

RichEditCommands.changeTableRowPreferredHeight Property

Gets a command to change the selected table rows’ preferred height.

Declaration

readonly changeTableRowPreferredHeight: ChangeTableRowPreferredHeightCommand

Property Value

Type Description
ChangeTableRowPreferredHeightCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute(preferredHeight) 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 example:

var rowHeightSettings = {
    type: ASPx.TableHeightUnitType.Minimum,
    value: richEdit.unitConverter.pixelsToTwips(75)
}
richEdit.commands.changeTableRowPreferredHeight.execute(rowHeightSettings)

Applying height settings to selected table cells may lead to changing the height of the corresponding table rows.

See Also