TableMergeCellsΒΆ
TableMergeCells specifies which neighbouring cells are merged.
- bool = TableMergeCells(hTable, rvMerge)
- bool = TableMergeCells(hTable, rmMerge)
Return Value
If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).
Parameters
- hTable
Identifies the table object.
- rvMerge
rvMerge is a vector with four elements, which specify a range of cells to be merged:
Element
Description
rvMerge[1]
left cell
rvMerge[2]
top cell
rvMerge[3]
right cell
rvMerge[4]
bottom cell
The row and column numbering starts with 1.
- rmMerge
rmMerge is a matrix with four columns. Each row specifies a range of cells to be merged:
Element
Description
rmMerge[;1]
left cell
rmMerge[;2]
top cell
rmMerge[;3]
right cell
rmMerge[;4]
bottom cell
The row and column numbering starts with 1.
History
Version |
Description |
---|---|
5.3.0 |
A matrix can be specified. |
See also
Overview Table, TableGetSelection, TableIsCellMerged, TableUnMergeCell, TableGetMergedCells
id-760935