Currently using NPOI 1.2.5 to generate Excel 2003 reports from an MVC3 application.
When I use the following lines of code it doesn't autosize the columns correctly.
> for (var i = 0; i < 14; i++)
> {
> worksheet.AutoSizeColumn(i);
> }
Note, although I am merging cells in the output I am not doing so until after the autosize code above has run.
Any help would be appreciated.
When I use the following lines of code it doesn't autosize the columns correctly.
> for (var i = 0; i < 14; i++)
> {
> worksheet.AutoSizeColumn(i);
> }
Note, although I am merging cells in the output I am not doing so until after the autosize code above has run.
Any help would be appreciated.