Improved excel BOM template for printing.
This commit is contained in:
@@ -611,7 +611,16 @@ namespace ExportDXF.Forms
|
||||
col++;
|
||||
}
|
||||
|
||||
partsSheet.Column(2).AutoFit();
|
||||
for (int i = 1; i <= 9; i++)
|
||||
{
|
||||
var column = partsSheet.Column(i);
|
||||
|
||||
if (column.Style.WrapText)
|
||||
continue;
|
||||
|
||||
column.AutoFit();
|
||||
column.Width += 1;
|
||||
}
|
||||
|
||||
workbook.Calculate();
|
||||
pkg.Save();
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user