Load a specific page

Navigation to a specific page, through code, is possible using GoToPageAtIndex method.

//Initialize PDF Viewer.

PdfViewerControl pdfViewer1 = new PdfViewerControl();



//Load the PDF.

pdfViewer1.Load("Sample.pdf");

pdfViewer1.GoToPageAtIndex(2);
'Initialize PDF Viewer.

Private pdfViewer1 As New PdfViewerControl()



'Load the PDF.

pdfViewer1.Load("Sample.pdf")

pdfViewer1.GoToPageAtIndex(2)