Worksheet.MergeCells Method (Cell.Range)

NanoXLSX

NanoXLSX

WorksheetMergeCells Method (CellRange)

Merges the defined cell range

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public string MergeCells(
	CellRange cellRange
)

Parameters

cellRange
Type: NanoXLSXCellRange
Range to merge

Return Value

Type: String
Returns the validated range of the merged cells (e.g. 'A1:B12')
Exceptions
ExceptionCondition
RangeExceptionThrows an RangeException if the passed cell range is out of range
See Also