Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue Jul 28, 2020 7:15 pm

I am trying to convert excel workbook to pdf using spire.xls, it creates pdf file but when I try to open the file it gives below error
spireerror.PNG
spireerror.PNG (9.96 KiB) Viewed 1677 times


Is there a way to resolve this?
SpireCode.PNG
SpireCode.PNG (10.91 KiB) Viewed 1677 times

sruthi.yalavarthi
 
Posts: 2
Joined: Tue Jul 28, 2020 6:29 pm

Wed Jul 29, 2020 3:24 am

Hello,

Thanks for your inquiry.
Please specify the FileFormat when saving as a PDF document, as shown below. If there are still any questions, please provide us with your input file for further investigation. You can upload it here or send it to us(support@e-iceblue.com) via email.
Code: Select all
workbook.SaveToFile(pdfPath, Spire.Xls.FileFormat.PDF);


Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Wed Jul 29, 2020 12:44 pm

when I use FileFormat.PDF I get the below error. I sent the file to support@e-iceblue.com
SpireError_PdfFormat.PNG
SpireError_PdfFormat.PNG (17.29 KiB) Viewed 1654 times

sruthi.yalavarthi
 
Posts: 2
Joined: Tue Jul 28, 2020 6:29 pm

Thu Jul 30, 2020 7:15 am

Hello,

Thanks for your response and sharing your file via email.
But sorry your message is encrypted (see the attached screenshot) and I’m unable to view the specific content. Can you please send it again without encryption? Don’t worry, we promise to keep your document confidential and will not use it for any other purpose. Thanks in advance.

Sincerely
Elena
E-iceblue support team
Attachments
screenshot.png
screenshot.png (15.98 KiB) Viewed 1633 times
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Mon Aug 03, 2020 2:28 am

Hello,

Thanks for providing your file via email.
I have reproduced your issue and logged it in our bug tracking system with the ticket SPIREXLS-2598. If there is any update, we will let you know. Sorry for the inconvenience caused.

Sincerely
Elena
E-iceblue Support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Wed Sep 02, 2020 10:04 am

Hello,

Glad to inform that we just released Spire.XLS Pack(Hotfix) Version:10.9.0 which fixes the issue SPIREXLS-2598, please download it from the following links to test.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.XLS/

Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Return to Spire.XLS

cron