Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Aug 17, 2020 9:56 pm

Hi,
Using Spire Office for WPF license you cannot convert a PDF to a DOC. There are no errors, it just doesn't save anything. This document shows that it should be possible: https://www.e-iceblue.com/Introduce/spire-office-for-wpf/Features.html

Code: Select all
using (var pdf = new PdfDocument())
{
   pdf.LoadFromFile("C:\\Temp\\Source.pdf");
   pdf.SaveToFile("C:\\Temp\\Destination.pdf", FileFormat.PDF); // Works
   pdf.SaveToFile("C:\\Temp\\Destination.docx", FileFormat.DOCX); // Does not work
}


Thanks,
Mark

markeye3
 
Posts: 27
Joined: Wed Jul 29, 2015 5:59 pm

Tue Aug 18, 2020 8:36 am

Hi

Thanks for your post.
After an initial test with Spire.Office(5.8.5), I didn't find the issue you mentioned. Could you please provide your document for further investigation? You could attach your file here or send it to us([email protected]) via email.

Sincerely,
Lynn
E-iceblue support team
User avatar

lynn.zhang
 
Posts: 57
Joined: Mon Jul 27, 2020 2:27 am

Tue Aug 18, 2020 2:43 pm

Hi Lynn,
It's specifically the "Office for WPF" not "Office for .NET" that's the problem.
See attached sample.
Thanks,
Mark

markeye3
 
Posts: 27
Joined: Wed Jul 29, 2015 5:59 pm

Wed Aug 19, 2020 3:02 am

Hi,

Thanks for your feedback.
I did reproduce your issue. This issue has been logged in our bug tracking system with the ticket SPIREPDF-3513 for further investigation. We will keep you informed if there is any progress. Sorry for the inconvenience caused.

Sincerely,
Lynn
E-iceblue support team
User avatar

lynn.zhang
 
Posts: 57
Joined: Mon Jul 27, 2020 2:27 am

Wed Sep 30, 2020 10:21 am

Hi,

Thanks for your waiting.
The issue has been fixed. Welcome to download and test Spire.Office Platinum(Hotfix) Version:5.9.6.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/5.9.6

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3044
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF

cron