Lazy Loading for Annotations

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.

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?

Here you can try:

instance.Core. documentViewer.enableLoadingAnnotationsFromVisiblePages()
1 Like