TableSplitCells

Description

Splits all the selected cells in the table. However, only previously merged cells can be split.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableSplitCells()

Return value

Boolean.

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

Examples

The following example splits the previously-merged cells.

long ll_tableid
boolean lb_rtn

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