Free Support Forum -

How to Preserve comments while converting Doc file to pdf file


We are using licensed version of aspose.words, While converting the docx file into pdf file we want an option to preserver review comments in converted pdf file, which were already added in Docx file before conversion.

Following is the code I am using for conversion.

string strMergeFilePath = “C:\MergedOutPut.docx”;
Aspose.Words.Document docpdf = new Aspose.Words.Document(strMergeFilePath);
docpdf.Save(“C:\test.pdf”, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(SaveFormat.Pdf));
catch (Exception ex)

Can you please provide some guide line to preserve the review comments.

Thank you !

Hi Abhijeet,

Thanks for your inquiry. Please note that Aspose.Words’ page layout engine tries to mimic the way the Microsoft Word’s page layout engine works. To achieve your required output, I would suggest you please upgrade to the latest version (v13.1.0) from here:

Please let us know if you have any more queries.