Description
Merges the specified set of cells into a single cell.
C#
public void MergeCells(int firstRow, int firstCol, int numRows, int numCols)
vb.net
Public Sub MergeCells(ByVal firstRow As Integer, ByVal firstCol As Integer, ByVal numRows As Integer, ByVal numCols As Integer)
Parameters
firstRow
The 0-based number of the first row in the set of cells to merge.firstCol
The 0-based number of the first column in the set of cells to merge.numRows
The number of rows to merge.numCols
The number of columns to merge.Examples
C#
table.MergeCells(3, 2, 4, 1);
vb.net
table.MergeCells(3, 2, 4, 1)
