Document Link Navigation in .NET MAUI PDF Viewer (SfPdfViewer)

2 Aug 20231 minute to read

The PDF viewer allows navigating from one part of the PDF document to another using document link annotations. When a document link annotation is tapped, the PDF viewer scrolls to its destination. This type of link annotations is most often used to represent the table of contents of a PDF document.

The document link navigation can be turned on or off using the EnableDocumentLinkNavigation property. The default value of this property is true. The below code snippet illustrates disabling the document link navigation.

pdfViewer.EnableDocumentLinkNavigation = false;