Contents - Index - Previous - Next


TableSplitCell method




Declaration
function TableSplitCell: Boolean;

Description

Splits a table cell.

The selection or insertion point must be within a cell in a table. If nothing is selected, the current cell is the one in which the insertion point appears, and the one that is split.

The selected cell is split horizontally - an empty cell is added to the right of the selected cell. The overall table width is not altered when splitting a cell. Instead, the cell widths are adjusted.

Returns True on success. Returns False if the selection or insertion point is not inside a table, if the insertion point is within the table caption, if the entire table is selected, or if more than one cell is selected.