.docx to PDF format

in my C# code, I have already created a .docx file from an InfoPath form. All I need is to convert this .docx file to a PDF file. Why would I need aspose.word? Why wouldn't I just need aspose.pdf?

Thank you, Tom Lucas


This message was posted using Page2Forum from Converting Word documents to PDF - Aspose.Pdf for .NET and Java

Hello Tom,

Thanks for considering Aspose.

Aspose.Words is used to convert the doc/docx files into xml file, and Aspose.Pdf uses that Xml to generate the resultant pdf file.

Aspose.Pdf is used to create a pdf files from scratch. You can use XML and an input or you can use the API to generate the Pdf file. Aspose.Pdf has also the capability to convert Excel, PowerPoint presentation, Image file and word file into Pdf, but for this you need to have Aspose.Cells, Aspose.Slides and Aspose.Words respectively.

If it does not satisfy your question, please feel free to share.