saveAnnotations()
Saves the annotations by using the server-side annotations save object that was specified by using the relevant HTML parameters or JavaScript methods.
Important: This method is asynchronous so the viewer does not wait for the save process
to complete before proceeding. If your code requires the save process to be complete before it
continues, monitor both of the following events:
- Event 24, which indicates that the save process was successful
- Event 25, which indicates that the save process failed
Sample syntax
ViewONE.saveAnnotations();