Spread页面显示
导出的PDF
您好,我导出的PDF文件,为啥和页面显示不一样呢,代码如下,谢谢。
代码:
FarPoint.Web.Spread.PrintInfo prinf = new FarPoint.Web.Spread.PrintInfo();
prinf.UseSmartPrint = true;
prinf.BestFitRows = true;
prinf.BestFitCols = true;
prinf.ShowBorder = true;
prinf.ShowColor = true;
prinf.ShowGrid = true;
FpSpread1.Sheets[0].PrintInfo = prinf;
FpSpread1.SavePdf(newFilePath); |