update weld day report
This commit is contained in:
parent
6bf614f274
commit
f84a8d8d56
Binary file not shown.
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue