Create new merged cell by merging all cells between startCell and endCell.

Namespace: Arctorus.Documents.Tables
Assembly: Arctorus.Documents (in Arctorus.Documents.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public MergedCell(
	Cell startCell,
	Cell endCell
)
Visual Basic
Public Sub New ( _
	startCell As Cell, _
	endCell As Cell _
)
Visual C++
public:
MergedCell(
	Cell^ startCell, 
	Cell^ endCell
)

Parameters

startCell
Type: Arctorus.Documents.Tables..::..Cell
First cell to merge.
endCell
Type: Arctorus.Documents.Tables..::..Cell
Last cell to merge.

Exceptions

ExceptionCondition
System..::..NullReferenceExceptionIf startCell or endCell are null.
Arctorus.Documents.Tables..::..MergeCellsException Thrown if:
CopyC#
startCell.equals(endCell) ||
startCell.getColumnIndex() > endCell.getColumnIndex() ||
startCell.getRowIndex() > endCell.getRowIndex())

See Also