The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
MRManikandan Ravichandran Syncfusion Team February 19, 2020 09:14 AM UTC
Hi Christopher,
Thank you for contacting Syncfusion support.
At present, our Essential DocIO library doesn’t have support to preserve comments in Word to PDF conversion. We have already logged this as a feature request in our database. We will implement this feature in any of our upcoming releases and we don’t have any immediate plans to implement this feature. The status of the feature can be tracked through below feedback link. https://www.syncfusion.com/feedback/3124/support-for-comments-in-word-to-pdf-conversion
Please let us know if you have any other questions.
Regards, Manikandan Ravichandran
CKCHRISTOPHER KELLYFebruary 19, 2020 04:37 PM UTC
ok, I know the DocIO has the ability to read the comments, is there a way to determine where an element in the document is once converted to PDF? If so then I could potentially add a stamp or annotation to the PDF post conversion?
MRManikandan Ravichandran Syncfusion Team February 20, 2020 06:33 PM UTC
Hi Christopher,
Thank you for your update.
Yes, DocIO can read the comments from the word document. As mentioned earlier, DocIO library doesn’t have support to preserve comments in Word to PDF conversion. So that, we can’t determine the comments in the generated PDF document. As workaround we suggest you to add bookmarks for the text where you want to add comments and convert to PDF using DocIO. After converting PDF, you can use Essential PDF to find the bookmarks along with their position in the PDF document and you can add annotation for each bookmark manually.
In this sample, we have done the following. 1. Loaded the word document 2. Added the bookmarks before and after the comments start and end range. 3. Converted the word document a PDF and stored it in the memory stream. 4. Loaded the PDF document (memory stream) to add annotations. 5. Added the rectangle annotation with comments at the comments range. 6. Saved the PDF document.
Please let us know if you have any other questions.
Regards, Manikandan Ravichandran
Need More Help?
Get personalized assistance from our support team.