Thanks for your inquiry. You can easily convert DOCX to PDF by using Aspose.Words. Please check following article and video tutorial for the purpose. For purchase and license details, please find required information here.
In reference to source code question, I’m afraid we don’t provide source code of our components. Hopefully, I have answered your all questions. Moreover, I’m also moving your thread to related forum; Aspose.Words.
Please feel free to contact us for any further assistance.