POI导出Excel 错误THE MAXIMUM COLUMN WIDTH FOR AN INDIVIDUAL CELL IS 255 CHARACTERS

int orgColWidth = (arrColWidth[column.Ordinal] + 1);
if (liekuan > 255) liekuan = 255;
//设置列宽
sheet.SetColumnWidth(column.Ordinal, liekuan * 256);

posted @ 2018-08-27 14:20  zhaogaojian  阅读(4095)  评论(0编辑  收藏  举报