Contents
- Index
- Previous
- Next
TableMergeCells method
Declaration
function TableMergeCells: Boolean;
Description
Merges two or more table cells into a single cell.
The selection must include two or more table cells. All cells containing any portion of a selection will be merged - it is not necessary that the entire contents of a cell be selected.
When cells are merged, their contents are concatenated together in the remaining cell. The merged cells assume the attributes of the cell that was leftmost and topmost in the selection. The overall table width is not altered when cells are merged. Instead, the cell widths are adjusted.
Returns True on success. Returns False if the selection includes elements outside a table or does not include at least two table cells.