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.

Fri Sep 04, 2015 10:45 am

Hi all,
Is the Spire.PDF can support to convert the .eml file into PDF and also i just can convert .Doc file but not .docx. is it possible to convert the .docx also ?

jmani
 
Posts: 1
Joined: Fri Sep 04, 2015 5:47 am

Mon Sep 07, 2015 3:44 am

Hello,

Thanks for your inquiry.
1) So sorry that our product doesn't support to convert the .eml file into PDF at this stage.
2) Our product Spire.Pdf doesn't support to convert the .docx directly at this stage. But it is possible to convert the .docx indirectly. Please first convert the pdf to .Doc file, then convert the .Doc file to .docx with our product Spire.doc.
Here is the sample code for your reference.
Code: Select all
Document doc = new Document();
doc.LoadFromFile("..\\..\\test.doc");
doc.SaveToFile("..\\..\\test1.docx",FileFormat.Docx);

Note that alone two libraries can't be used in the same project. You need to use Spire.Officeincludes all products.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.PDF