This commit is contained in:
2024-05-11 10:07:46 +08:00
committed by jackchenyang
parent a1c00d5980
commit 4c04e72cbf
3 changed files with 7 additions and 5 deletions
@@ -1230,18 +1230,20 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
#endregion
ws = ExcelCreateRow(ws, hssfworkbook, rowIndex + 8, rowIndex + 8, style, 0, 14, false, false, true);
rowIndex += 9;
ws = ExcelCreateRow(ws, hssfworkbook, rowIndex + 8, rowIndex + 9, style, 0, 14, false, false, true);
rowIndex += 10;
ws.SetRowBreak(rowIndex - 1);
}
ws.FitToPage = true;
ws.PrintSetup.FitWidth = 1;
ws.PrintSetup.FitHeight = 0;
ws.PrintSetup.FitHeight = short.MaxValue;
ws.SetMargin(MarginType.LeftMargin, 0.3);
ws.SetMargin(MarginType.RightMargin, 0.2);
ws.PrintSetup.Landscape = true;
ws.PrintSetup.Scale = 70;
//ws.PrintSetup.Scale = 70;
ws.ForceFormulaRecalculation = true;
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;