例子。Epplus怎么样?
Sheet.Cells["a1:d1"].Column.Width = 10;
在 Excel 互操作中:
Sheet.get_Range("a1", "d1").ColumnWidth = 10;
epplus
epplus ×1