rvico TRichView Reference | Item Types | Table

TRVTableItemInfo.SplitSelectedCellsVertically

Top  Previous  Next

Splits each selected cell into ColCount cells (inserting vertical splitters).

procedure SplitSelectedCellsVertically(ColCount: Integer);

This method splits cells calling UnmergeCells, InsertCols and MergeCells. This method can change number of columns.

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