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

Example of Custom Toolbar in ASP.NET MVC 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 - openEditAnnotation()
    • 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 MVC web apps today with Syncfusion ASP.NET MVC components
    85+ high-performance and responsive UI components
    Dedicated support
    Hassle-free licensing
    TRY IT FOR FREE