The latest release version of the TX Text Control DocumentViewer for ASP.NET, ASP.NET Core and Angular comes with document collaboration features such as annotations and comments. It allows you to add and share annotations from different users to any type of document supported by TX Text Control including PDF, DOC, DOCX, RTF and the internal TX Text Control format (TX).
This allows an easy integration of document collaboration workflow features into your TX Text Control based applications.
The DocumentViewer can be initialized with a user name that defines the current user using the UserNames property:
When the demo is initialized, the annotation toolbar is opened automatically to show the annotations in the sidebar:
You can add additional annotations and comments to the document:
The two green buttons at the bottom of the demo show how to save and load the annotations:
On clicking Export Annotations JSON, the complete annotations are serialized as JSON and copied into a text area. Using the button Load Annotations JSON, you can load the exported annotations back into the viewer.
You can try this on your own by launching the live demo: