This commit is contained in:
李云虎 2024-05-10 18:51:49 +08:00
parent 4ebc46d4ae
commit 6838e2bbf9
1 changed files with 6 additions and 6 deletions

View File

@ -979,18 +979,18 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
XSSFWorkbook hssfworkbook = new XSSFWorkbook(); XSSFWorkbook hssfworkbook = new XSSFWorkbook();
XSSFSheet ws = (XSSFSheet)hssfworkbook.CreateSheet("管道焊接工作记录"); XSSFSheet ws = (XSSFSheet)hssfworkbook.CreateSheet("管道焊接工作记录");
#region #region
ws.SetColumnWidth(0, 18 * 256); ws.SetColumnWidth(0, 18 * 256);
ws.SetColumnWidth(1, 9 * 256); ws.SetColumnWidth(1, 9 * 256);
ws.SetColumnWidth(2, 6 * 256); ws.SetColumnWidth(2, 6 * 256);
ws.SetColumnWidth(3, 12 * 256); ws.SetColumnWidth(3, 12 * 256);
ws.SetColumnWidth(4, 18 * 256); ws.SetColumnWidth(4, 18 * 256);
ws.SetColumnWidth(5, 19 * 256); ws.SetColumnWidth(5, 15 * 256);
ws.SetColumnWidth(6, 16 * 256); ws.SetColumnWidth(6, 15 * 256);
ws.SetColumnWidth(7, 13 * 256); ws.SetColumnWidth(7, 13 * 256);
ws.SetColumnWidth(8, 14 * 256); ws.SetColumnWidth(8, 10 * 256);
ws.SetColumnWidth(9, 13 * 256); ws.SetColumnWidth(9, 10 * 256);
ws.SetColumnWidth(10, 13 * 256); ws.SetColumnWidth(10, 13 * 256);
ws.SetColumnWidth(11, 10 * 256); ws.SetColumnWidth(11, 10 * 256);
ws.SetColumnWidth(12, 16 * 256); ws.SetColumnWidth(12, 16 * 256);
@ -1241,7 +1241,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
ws.SetMargin(MarginType.LeftMargin, 0.3); ws.SetMargin(MarginType.LeftMargin, 0.3);
ws.SetMargin(MarginType.RightMargin, 0.2); ws.SetMargin(MarginType.RightMargin, 0.2);
ws.PrintSetup.Landscape = true; ws.PrintSetup.Landscape = true;
ws.PrintSetup.Scale = 69; ws.PrintSetup.Scale = 70;
ws.ForceFormulaRecalculation = true; ws.ForceFormulaRecalculation = true;
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small; ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;