Hello,
Thanks for your inquiry and sorry for late reply as weekend.
I did notice the header information lost issue with an old Spire.SpreadSheet, sorry for that. And I can confirm the issue doesn't exist in the latest
Spire.Office Platinum Version:3.0 which contains the latest Spire.SpreadSheet.dll 2.3.1. Please reference the four dlls (Spire.Spreadsheet.dll Spire.XLS.dll Spire.Pdf.dll Spire.License.dll) from Spire.Office package and try again. As for the damaged issue, Spire.SpreadSheet doesn't support converting to other formats like PDF, you should use the function of Spire.Xls to do conversion such as below. If there is still any issue, please provide your "Test-Original.xlsx" for testing.
- Code: Select all
Workbook wb = new Workbook();
wb.LoadFromFile("Test-Original.xlsx'");
wb.SaveToFile("Test-Export.pdf", Spire.Xls.FileFormat.PDF);
Sincerely,
Nina
E-iceblue support team