TRVTableItemInfo.SplitSelectedCellsHorizontally

<< Click to display table of contents >>

TRVTableItemInfo.SplitSelectedCellsHorizontally

Splits each selected cell into RowCount cells (inserting horizontal splitters).

procedure SplitSelectedCellsHorizontally(RowCount: Integer);

This method splits cells calling UnmergeCells, InsertRows and MergeCells. This method can change number of rows.

It's recommended to call this method only when selection has a rectangular shape, see CanMergeSelectedCells.

If no cells are selected, it splits the cell that is being edited.

This method must be called when the document is formatted.

See also:

Table operations;

Undo note.

See also methods:

SplitSelectedCellsVertically;

UnmergeSelectedCells;

GetNormalizedSelectionBounds.