100金币
在服务器,spread 转换成pDF文件,空白文件,只有1kB,打开空白的,但在 本地可以,在服务器不行?与运行有关吗,还是系统有关,,
FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
printset.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File;
printset.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.New;
printset.PrintToPdf = true;
printset.PdfFileName = FileName;
fpSpread1.Sheets[0].PrintInfo = printset;
fpSpread1.PrintSheet(0);
联系电话,13902946208
|
|