Page 1 of 1

Get all annotations from all the images in web documentviewer

Posted: Fri Nov 03, 2023 7:22 am
by jwalit.katira
Hello,

I have multipage TIFF, in which I draw 2 rectangle annotation on 1st page and draw 3 rectangle annotation in 2nd page , on one of my button click I want all the annotation from all my image. I am only getting current page annotation collection using AnnotationVisualTool.get_FocusedAnnotationView();

can you please share method how can i get all my annotation which I have draw in multiple page

Also, I have set value false to set_LoadAnnotationsOnlyForFocusedImage() method but still i am only getting annotation of current image only

Thanks,
Jwalit Katira

Re: Get all annotations from all the images in web documentviewer

Posted: Fri Nov 03, 2023 9:24 am
by Alex
Hello Jwalit,

The annotation controller stores annotation collections for all images.

For solving your task you need to do the following steps: Best regards, Alexander