TableMergeCells

Description

Merges all the selected cells in the table.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableMergeCells()

Return value

Boolean.

Returns true if all the selected cells are merged successfully, and returns false if an error has occurred or if the current input position is not within a table.

Examples

The following example merges all the selected cells.

long ll_tableid
boolean lb_rtn

ll_tableid = rte_1.TableInsert(3,4)
rte_1.TableCellSelect(ll_tableid,2,1,2,3)
lb_rtn = rte_1.TableMergeCells()