update weld day report
This commit is contained in:
parent
6bf614f274
commit
f84a8d8d56
Binary file not shown.
|
@ -378,14 +378,15 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
|
|||
string str= "CC7: 监理: Worley:";
|
||||
str += "\n\n第 &P 页,共 &N 页";
|
||||
footer.Center = str;
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
ws.PrintSetup.FitWidth = 1;
|
||||
ws.PrintSetup.FitHeight = 0;
|
||||
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
|
||||
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