/
/
undefined

This sample demonstrate how to perform the PDF Viewer core functionalities using a custom toolbar.

Description

This sample demonstrate how to perform the PDF Viewer core functionalities using a custom toolbar. In this example, you can see PDF Viewer control API in action to perform the functionalities. Get Bookmarks - viewer.getBookmarks() Bookmark Navigation - viewer.navigateBookmark(pageindex,Y) Go to Previous Page - viewer.goToPreviousPage() Go to Next Page - viewer.goToNextPage() Go to Page - viewer.goToPage(pageindex) Search Text - viewer.searchText(searchText,isMatchCase) Search Next - viewer.searchNext() Search Previous - viewer.searchPrevious() Cancel Search Text - viewer.cancelTextSearch() Print - viewer.print() Download - viewer.download() Fit To Page - viewer.fitToPage() Zoom In - viewer.zoomIn() Zoom Out - viewer.zoomOut() Load document - viewer.load(fileName, password) Show or hide default toolbar - viewer.showToolbar(isEnable) More information on the PdfViewer instantiation can be found in this documentation section.