FarPoint.Web.Spread.PrintInfo prinf = new FarPoint.Web.Spread.PrintInfo();
prinf.UseSmartPrint = true;
prinf.ShowBorder = true;
prinf.Orientation = FarPoint.Web.Spread.PrintOrientation.Landscape;
prinf.PrintType = FarPoint.Web.Spread.PrintType.All;
FpSpread1.Sheets[0].PrintInfo = prinf;
FpSpread1.SavePdf(newFilePath);
您好,我代码这样修改了一下导出还是有问题 |