Posted 28 April 2023, 12:03 am EST
Hi, when I print to pdf all the sheets with the function printsheet(-1) with the version 16, the result file only has the last sheet. With the same code in version 14 this did not happen. This is my configuration of the PrintInfo:
oSheet.PrintInfo.PrintToPdf = True
oSheet.PrintInfo.PdfFileName = fileName
oSheet.PrintInfo.PdfWriteMode = FarPoint.Win.Spread.PdfWriteMode.Append
oSheet.PrintInfo.PdfWriteTo = FarPoint.Win.Spread.PdfWriteTo.File