rvico TRichView Reference | Item Types | Table

TRVTableItemInfo.SplitSelectedCellsHorizontally

Top  Previous  Next

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:

Undo note.

See also methods:

SplitSelectedCellsVertically;

UnmergeSelectedCells;

GetNormalizedSelectionBounds.


TRichView © trichview.com