MergeCells

Table.MergeCells 方法

合并相邻单元格。

public ICell MergeCells(ICell cell1, ICell cell2, bool allowSplitting)
参数类型描述
cell1ICell要合并的单元格。
cell2ICell要合并的单元格。
allowSplittingBoolean为 true 以允许单元格拆分。

返回值

合并后的单元格。

另请参见