Hello
Thanks for your request. As I can see you are using Aspose.Pdf. Please see the following code which will allow you converting any MS Word document to PDF using Aspose.Words:
Document doc = new Document("C:\\Temp\\in.doc");
doc.Save("C:\\Temp\\out.pdf", SaveFormat.Pdf);
Also please follow this link to learn more: https://docs.aspose.com/words/net/convert-a-document-to-pdf/
If you will have any additional questions related to Aspose.Pdf product you can write to the appropriate forum and my colleagues from Aspose.Pdf team will answer you shortly.
Best regards,