Skip to main content

InsertTableCommand.execute(columnCount, rowCount) Method

Executes the InsertTableCommand command with the specified parameters.

#Declaration

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

#Parameters

Name Type Description
columnCount number

The number of columns in a generated table.

rowCount number

The 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