This example illustrates the process of crafting a customized toolbar within the PDF Viewer, allowing you to incorporate specific tools tailored to your needs.
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
viewer.load(fileName, password)viewer.download()viewer.navigation.goToPreviousPage()viewer.navigation.goToNextPage()viewer.navigation.goToPage(pageindex)textSelection()panMode()openEditAnnotation()addEditFormFields()viewer.textSearch.searchText(searchText,isMatchCase)viewer.textSearch.searchNext()viewer.textSearch.searchPrevious()viewer.textSearch.cancelTextSearch()viewer.print.print()viewer.magnification.fitToPage()viewer.magnification.zoomIn()viewer.magnification.zoomOut()More information on the PDF Viewer instantiation can be found in this documentation section .