How to go to destination page by using bookmarks of the PDF document in PdfViewer control?
At present, we do not have support for Bookmark Navigation in PDFViewer. However, the below workaround can be used to perform the navigation to that particular page using bookmarks of the PDF document.
Note: This workaround can handle only the navigation to a page. Navigation to a location/coordinates in a page is not supported.
The following code snippet explains how to perform the Bookmark navigation.
Steps to be followed:
1. Run the sample with the required PDF document contains Bookmarks.
2. Click the Button “Get PDF bookmarks”. It will display all the bookmarks present in the document in the List View.
3. Then Click any of the valid bookmark present and it will navigate to the destination page.
This page will automatically be redirected to the sign-in page in 10 seconds.