Example of Toolbar in ASP.NET Core PDF Viewer Control

This example illustrates the process of crafting a customized toolbar within the PDF Viewer, allowing you to incorporate specific tools tailored to your needs.

DEMO
SOURCE

      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.

      • Load document - viewer.load(fileName, password)
      • Save - viewer.download()
      • Go to Previous Page - viewer.navigation.goToPreviousPage()
      • Go to Next Page - viewer.navigation.goToNextPage()
      • Go to Page - viewer.navigation.goToPage(pageindex)
      • TextSelection - textSelection()
      • Pan - panMode()
      • Annotation Edit - openEditAnntation()
      • FormFields Edit - addEditFormFields()
      • 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()
      • Fit To Page - viewer.magnification.fitToPage()
      • Zoom In - viewer.magnification.zoomIn()
      • Zoom Out - viewer.magnification.zoomOut()

      More information on the PDF Viewer instantiation can be found in this documentation section .

      Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
      85+ high-performance and responsive UI components
      Dedicated support
      Hassle-free licensing
      TRY IT FOR FREE