Thu Dec 30, 2010 10:04 am
Thank you for inquiry.
The Spire .XLS supports Excel autofit. As Excel autofit is basic function, we didn’t take it into the features of the Spire .XLS. If you want to do so, you can follow the codes:
sheet.AutoFitColumn(0);
sheet.AutoFitColumn(1);
sheet.AutoFitRow(0);
sheet.AutoFitRow(1);
sheet.Columns[0].ColumnWidth = 3;
e-iceblue support