This commit is contained in:
李云虎 2024-05-11 10:07:46 +08:00
parent a1c00d5980
commit 6c42bba857
1 changed files with 6 additions and 4 deletions

View File

@ -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;