调整行和列的大小
//Set the row "A" height to 15
double rowHeight = 15;
worksheet.Row(1).Height = rowHeight;
//Set the column 1 width to 50
double columnWidth = 50;
worksheet.Column(1).Width = columnWidth;
当 Bestfit 设置为 true 时,当用户在单元格中输入数字时,该列将变宽
worksheet.Column(1).BestFit = true;