CellsMerge Method (Int32, Int32, Int32, Int32)

Merges a specified range of cells into a single cell.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public void Merge(
	int firstRow,
	int firstColumn,
	int totalRows,
	int totalColumns
)

Parameters

firstRow
Type: SystemInt32
First row of this range(zero based)
firstColumn
Type: SystemInt32
First column of this range(zero based)
totalRows
Type: SystemInt32
Number of rows(one based)
totalColumns
Type: SystemInt32
Number of columns(one based)
Remarks
Reference the merged cell via the address of the upper-left cell in the range.
See Also