1112
This commit is contained in:
parent
33cdaff252
commit
4ebc46d4ae
|
@ -1232,18 +1232,31 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||||
|
|
||||||
ws = ExcelCreateRow(ws, hssfworkbook, rowIndex + 8, rowIndex + 8, style, 0, 14, false, false, true);
|
ws = ExcelCreateRow(ws, hssfworkbook, rowIndex + 8, rowIndex + 8, style, 0, 14, false, false, true);
|
||||||
rowIndex += 9;
|
rowIndex += 9;
|
||||||
|
ws.SetRowBreak(rowIndex - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
ws.PrintSetup.FitWidth = 1;
|
ws.PrintSetup.FitWidth = 1;
|
||||||
ws.PrintSetup.FitHeight = 0;
|
ws.PrintSetup.FitHeight = 0;
|
||||||
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
|
|
||||||
|
|
||||||
ws.FitToPage = true;
|
|
||||||
ws.SetMargin(MarginType.LeftMargin, 0.3);
|
ws.SetMargin(MarginType.LeftMargin, 0.3);
|
||||||
ws.SetMargin(MarginType.RightMargin, 0.2);
|
ws.SetMargin(MarginType.RightMargin, 0.2);
|
||||||
ws.PrintSetup.Landscape = true;
|
ws.PrintSetup.Landscape = true;
|
||||||
ws.PrintSetup.Scale = 75;
|
ws.PrintSetup.Scale = 69;
|
||||||
ws.PrintSetup.PaperSize = 9;
|
|
||||||
ws.ForceFormulaRecalculation = true;
|
ws.ForceFormulaRecalculation = true;
|
||||||
|
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
|
||||||
|
|
||||||
|
|
||||||
|
//ws.PrintSetup.FitWidth = 1;
|
||||||
|
//ws.PrintSetup.FitHeight = 0;
|
||||||
|
//ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
|
||||||
|
|
||||||
|
//ws.FitToPage = true;
|
||||||
|
//ws.SetMargin(MarginType.LeftMargin, 0.3);
|
||||||
|
//ws.SetMargin(MarginType.RightMargin, 0.2);
|
||||||
|
//ws.PrintSetup.Landscape = true;
|
||||||
|
//ws.PrintSetup.Scale = 75;
|
||||||
|
//ws.PrintSetup.PaperSize = 9;
|
||||||
|
//ws.ForceFormulaRecalculation = true;
|
||||||
|
|
||||||
using (FileStream filess = System.IO.File.OpenWrite(ReportFileName))
|
using (FileStream filess = System.IO.File.OpenWrite(ReportFileName))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue