How to Preserve comments while converting Doc file to pdf file

Hi,

We are using licensed version of aspose.words 10.5.0.0, 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.

try
{
    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));
    // htmlStream.Close();
}
catch (Exception ex)
{
    ex.Message.ToString();
}

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

Thank you !

Abhijeet

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:

https://downloads.aspose.com/words/net

Please let us know if you have any more queries.