How can I help you?
Load a specific page
5 Sep 20251 minute to read
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)