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,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.