Annotation data
Export and restore the review layer
Add annotations with the viewer toolbar, export them as JSON, clear the layer, and restore it later.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Load and save review annotations
Export the current annotation layer as JSON and load it again independently of the underlying document.
API used
TXDocumentViewer.annotations.export
How it works
The Razor helper prepares the browser viewer and its document. Demo-specific JavaScript uses the public TXDocumentViewer API and remains encapsulated with this demo.
Source files
See the implementation
The view, browser behavior, assets, and controller are encapsulated in Demos/DocumentViewer/Annotations/LoadingSaving.