Example of Primary Toolbar Customization in Blazor PDF Viewer Component
In this example, observe the modification of default toolbar item positions, along with the ability to show or hide specific toolbar items as required.
Select Toolbar Items
Witness the capabilities of the PDF Viewer control API in action as it empowers users to execute various functions:
- Navigate to the Previous Page - "viewer.GoToPreviousPageAsync()"
- Navigate to the Next Page - "viewer.GoToNextPageAsync()"
- Jump to a Specific Page - "viewer.GoToPageAsync(pageindex)"
- Print the Document - "viewer.PrintAsync()"
- Download the Document - "viewer.DownloadAsync()"
- Zoom In - "viewer.ZoomInAsync()"
- Zoom Out - "viewer.ZoomOutAsync()"
More information about the SfPdfViewer can be found in this documentation section.