Hello,I have a word.When I convert it to pdf,something is wrong.I use the version 21.4.
Can you give a example to how to use the version 21.4 to convert word to pdf?
the word:
the pdf:
Hello,I have a word.When I convert it to pdf,something is wrong.I use the version 21.4.
Can you give a example to how to use the version 21.4 to convert word to pdf?
the word:
the pdf:
@Jackins The code for conversion document to PDF is pretty simple, just load and save the document as PDF:
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");
Please see our documentation for more information:
https://docs.aspose.com/words/net/convert-a-document-to-pdf/
If you have problems with conversion, please attach your input and output documents here for testing. We will check the issue and provide you more information. Unfortunately, it is impossible to analyze the problem using screenshots.