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

InsertTableCommand.execute(columnCount, rowCount) Method

Executes the InsertTableCommand command with the specified parameters.

Declaration

execute(
    columnCount: number,
    rowCount: number
): boolean

Parameters

Name Type Description
columnCount number

An integer value specifying a number of columns in a generated table.

rowCount number

An integer value specifying a number of rows in a generated table.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

richEdit.commands.insertTable.execute(3, 5);
See Also