1111
This commit is contained in:
parent
a1c00d5980
commit
6c42bba857
|
@ -1230,18 +1230,20 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
ws = ExcelCreateRow(ws, hssfworkbook, rowIndex + 8, rowIndex + 8, style, 0, 14, false, false, true);
|
ws = ExcelCreateRow(ws, hssfworkbook, rowIndex + 8, rowIndex + 9, style, 0, 14, false, false, true);
|
||||||
rowIndex += 9;
|
rowIndex += 10;
|
||||||
ws.SetRowBreak(rowIndex - 1);
|
ws.SetRowBreak(rowIndex - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ws.FitToPage = true;
|
||||||
ws.PrintSetup.FitWidth = 1;
|
ws.PrintSetup.FitWidth = 1;
|
||||||
ws.PrintSetup.FitHeight = 0;
|
ws.PrintSetup.FitHeight = short.MaxValue;
|
||||||
|
|
||||||
|
|
||||||
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 = 70;
|
//ws.PrintSetup.Scale = 70;
|
||||||
ws.ForceFormulaRecalculation = true;
|
ws.ForceFormulaRecalculation = true;
|
||||||
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
|
ws.PrintSetup.PaperSize = (int)PaperSize.A4_Small;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue