Add one annotation from left menu, and click "Download the annotated file" link. We can see that new annotation is visible in downloaded document.
Add next annotation, and click "Download the annotated file" again. Now, new annotation is not visible in downloaded document.
If we repeat this process, and add more annotations and again click "Download the annotated file" link, these new annotations will not be saved in downloaded document.
Note:
In some cases, two first annotations are saved, and then next annotations cannot be saved.
Sometimes, once in 5 to 10 times, download file returns HTTP Error 500, java.lang.RuntimeException: class com.groupdocs.annotation.common.exception.AnnotatorException: Error occurred during working with document. ---> java.lang.StringIndexOutOfBoundsException: String index out of range: 72
Please check this scenario:
Start sample using mvn jetty:run and open some PDF file (e.g. samplePdf1.pdf from https://helpdesk.groupdocs.com/scp/tickets.php?id=51 ).
Add one annotation from left menu, and click "Download the annotated file" link. We can see that new annotation is visible in downloaded document.
Add next annotation, and click "Download the annotated file" again. Now, new annotation is not visible in downloaded document.
If we repeat this process, and add more annotations and again click "Download the annotated file" link, these new annotations will not be saved in downloaded document.
Note: