Worksheet.MergeCells Method (Cell.Address, Cell.Address)

PicoXLSX

PicoXLSX

WorksheetMergeCells Method (CellAddress, CellAddress)

Merges the defined cell range

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public string MergeCells(
	CellAddress startAddress,
	CellAddress endAddress
)

Parameters

startAddress
Type: PicoXLSXCellAddress
Start address of the merged cell range
endAddress
Type: PicoXLSXCellAddress
End address of the merged cell range

Return Value

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