让所有细胞都流行起来

时间:2018-04-17 12:53:04

标签: c# npoi

我正在使用NPOI,我想合并一行中的所有单元格。

示例:

NPOI.SS.Util.CellRangeAddress crart = new NPOI.SS.Util.CellRangeAddress(rowindex, rowindex, 2, columnCount >= 2 ? columnCount : 2 + columnCount);
sheet.AddMergedRegion(crart);

0 个答案:

没有答案