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