Navigation

DynamicPDF Viewer fully supports navigation. You can navigate to a specific page, previous view, or to a specified outline. You can also search backwards and forwards.

The PDFViewer class provides the following navigation methods:

Refer to the API documentation for details on each method. The following examples illustrates some common navigation commands using DynamicPDF Viewer. As the example code illustrates, using the Viewer is straightforward.

In the code examples, assume the Viewer control name in the C# example is pdfViewer while the VB.NET example is MyPdfViewer.

pdfViewer.Open(pdfFilePath);
pdfViewer.Goto(pageNumber);        
MyPdfViewer.Open(pdfFilePath)
MyPdfViewer.Goto(pageNumber)  
pdfViewer.Open(pdfFilePath);
pdfViewer.NavigateToPreviousView();        
MyPdfViewer.Open(pdfFilePath)
MyPdfViewer.NavigateToPreviousView()

More Examples

For more complete examples, refer to the API pages for each of the navigation commands or refer to the GitHub examples project.

In this topic