This sample demonstrate how to perform the PDF Viewer core functionalities using a custom toolbar.
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.navigation.goToPreviousPage()
viewer.navigation.goToNextPage()
viewer.navigation.goToPage(pageindex)
viewer.print.print()
viewer.download()
viewer.magnification.fitToPage()
viewer.magnification.zoomIn()
viewer.magnification.zoomOut()
viewer.load(fileName, password)
More information on the PDF Viewer instantiation can be found in this documentation section .