Consider two annotated documents “A.docx” and “B.docx”. Now I have hidden the annotation of document “A” with annotationManger.hideAnnotations() and trying to preview document “B” with annotationManger.showAnnotations(), but the “annotationChanged” event does not trigger and hence unable to view the annotations of that document. Now, when I try to preview A.docx once again, “annotationChanged” event gets triggered and annotations are visible. Please help me to sort out the issue. Thanks.
call annotationManger.showAnnotations(annotsToShow) (What is the reasoning behind calling this function? Are we trying to show the annots from step 3? Does the file have annots hidden by default? Why do we care about the annotationChanged event?)
load A.docx again
I don’t quite follow: annotationChanged" event gets triggered and annotations are visible. Can you elaborate?