update weld day report

This commit is contained in:
jackchenyang 2024-05-10 09:49:00 +08:00
parent 6bf614f274
commit f84a8d8d56
2 changed files with 10 additions and 6 deletions

Binary file not shown.

View File

@ -383,9 +383,10 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
#endregion
ws.PrintSetup.FitWidth = 1;
ws.PrintSetup.FitHeight = 0;
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
#region
#endregion
ws.FitToPage = false;
ws.SetMargin(MarginType.LeftMargin, (double)1.2 / 3);
ws.SetMargin(MarginType.RightMargin, (double)1.2 / 3);
@ -395,6 +396,9 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
ws.PrintSetup.Scale = 70;
ws.ForceFormulaRecalculation = true;
ws.PrintSetup.FitWidth = 1;
ws.PrintSetup.FitHeight = 0;
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
using (FileStream filess = System.IO.File.OpenWrite(ReportFileName))
{
hssfworkbook.Write(filess);