This example illustrates the process of crafting a customized toolbar within the PDF Viewer, allowing you to incorporate specific tools tailored to your needs.
This sample demonstrates how to create a fully custom toolbar for the Syncfusion ASP.NET Core PDF Viewer by disabling the built-in toolbar, annotation toolbar, navigation toolbar, and comment panel, and replacing them with external toolbar wired to the viewer's APIs. The main toolbar exposes file open and save, page navigation with a current page input, text selection and pan tools, annotation editing, form field design, text search, and print. An additional edit annotation toolbar provides text markup, shape, measure, free text, stamp, signature, and ink annotation tools. A form field toolbar enables adding textbox, password, checkbox, radio button, drop down, list box, and signature form fields. A custom text search bar supports match case and next/previous navigation, and a magnification toolbar provides fit-to-page, zoom in, and zoom out controls.
Key Features
- PDF Viewer rendering - Loads and displays PDF documents with the built-in toolbars disabled, driven entirely by external custom toolbar controls.
- Custom main toolbar - Provides Open, Save, Previous/Next Page, current page input, magnification, Text Selection and Pan tools, Edit Annotation, Form Fields, Find Text, and Print buttons.
- Custom Annotation toolbar - Adds Highlight, Underline, Strikethrough, Squiggly, Line, Arrow, Rectangle, Circle, Polygon, Distance, Perimeter, Area, Radius, Volume, Free Text, Stamp, Signature, and Ink annotation tools.
- Custom Form designer toolbar - Enables adding Textbox, Password, Checkbox, Radio Button, Drop Down, List Box, and Signature form fields via
formDesignerModule.
Documentation Links
More Resources