您试下打印到pdf看看效果
- FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
- printset.PrintToPdf = true;
- printset.PdfFileName = "D:\\results.pdf";
- // Assign the printer settings and print
- fpSpread1.Sheets[0].PrintInfo = printset;
- fpSpread1.PrintSheet(0);
复制代码 |