1

I have a requirement, where user creates a point on drawing document(pdf) in pdftron viewer and link to an issue. Later when user clicks on issue i need to set my zoom to the marked location so that it will be helpful for the user to identify where exactly is the issue

I have tried zoomTo method on docViewer class, but unable to get expected result. Can anyone suggest what method we need to use to get the expected result

1 Answers1

0

Have you tried jumpToAnnotation on the AnnotationManager? I believe this is what you are looking for.

Jumps to the page of the annotation and if it isn't visible then centers it in the window.

Example:

// Jumps to passed annotation
annotManager.jumpToAnnotation(annotation);