Method SplitCell
SplitCell(WordDocument, TableCell)
Splits a merged cell back into one cell per grid column and row; the content stays in the first.
public static DocumentEdit SplitCell(this WordDocument document, TableCell cell)
Parameters
documentWordDocumentThe document that holds the cell.
cellTableCellAny cell of the merge.
Returns
- DocumentEdit
The edit; empty when the cell is not merged.
Exceptions
- ArgumentNullException
documentorcellis null.- ArgumentException
The cell is not in a table of
document.