GridCells.Merge

GridCells.Merge method

Merges a specified range of cells into a single cell.

public void Merge(int firstRow, int firstColumn, int totalRows, int totalColumns)
ParameterTypeDescription
firstRowInt32First row of this range(zero based)
firstColumnInt32First column of this range(zero based)
totalRowsInt32Number of rows(one based)
totalColumnsInt32Number of columns(one based)

Remarks

Reference the merged cell via the address of the upper-left cell in the range.

See Also