/
/
Custom Toolbar

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

More Details...

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.bookmark.getBookmarks() Bookmark Navigation - viewer.bookmark.goToBookmark(pageindex,Y) Go to Previous Page - viewer.navigation.goToPreviousPage() Go to Next Page - viewer.navigation.goToNextPage() Go to Page - viewer.navigation.goToPage(pageindex) Search Text - viewer.textSearch.searchText(searchText,isMatchCase) Search Next - viewer.textSearch.searchNext() Search Previous - viewer.textSearch.searchPrevious() Cancel Search Text - viewer.textSearch.cancelTextSearch() Print - viewer.print.print() Download - viewer.download() Fit To Page - viewer.magnification.fitToPage() Zoom In - viewer.magnification.zoomIn() Zoom Out - viewer.magnification.zoomOut() Load document - viewer.load(fileName, password) Show or hide default toolbar - viewer.toolbar.showToolbar(isEnable) More information on the PDF Viewer instantiation can be found in this documentation section.