• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

Example of Custom Toolbar in ASP.NET Core PDF Viewer Control

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

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.

  • Go to Previous Page - viewer.navigation.goToPreviousPage()
  • Go to Next Page - viewer.navigation.goToNextPage()
  • Go to Page - viewer.navigation.goToPage(pageindex)
  • 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 .

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