Lazy Loading for Annotations

Hi!
Is there a way to lazy load annotations while we are scrolling page by page, my use case is to add lots of annotations on a single PDF page and large pdfs are taking time to do this.

Hi
Thanks for contacting us for support.
We have an API for enableLoadingAnnotationsFromVisiblePages. But you should not that it will also only export the annotations from the visible pages

How to use in a javascript code?

Hi
Here you can try:

instance.Core. documentViewer.enableLoadingAnnotationsFromVisiblePages()
1 Like