Contents
- Index
- Previous
- Next
TableInsertCell method
Declaration
function TableInsertCell: Boolean;
Description
Inserts a single cell to the left of the current cell in a table.
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. If the selection spans more than one cell, the current cell is defined as the one that is leftmost and topmost in the selection.
The overall table width is not altered when inserting a cell. Instead, the cell widths are adjusted to accommodate the new cell. When the new cell is inserted, individual cell attributes are copied from the current cell to the new one.
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, or if the entire table is selected.