The Blazor PDF Viewer is a UI component for displaying PDFs from byte arrays, streams, or file paths. In addition to being able to print PDFs, it supports reviewing PDFs with annotation tools. Thumbnails, bookmarks, hyperlinks, and tables of content provide easy navigation within and outside PDF files. Form-filling support allows filling and printing with AcroForms.
Thousands of PDF pages can be loaded instantly. On-demand loading and virtualization support helps reduce the initial loading time for larger PDF files.
The PDF Viewer offers various annotations including text markup, shape, stamp, sticky note, measurement, free-text, and ink.
Blazor PDF Viewer offers selection and panning interaction modes in your loaded PDF documents, making interaction easier.
The comment panel is used to add comments as annotations, replies to comments, and statuses to the PDF file.
You can add a handwritten signature to your PDF files, and customize them by resizing, moving, deleting, and saving them. They enhance the digital process.
The Blazor PDF Viewer is designed to be responsive with an optimized design for desktops, touchscreens, and smartphones. It works well on all mobile phones that use iOS, Android, or Windows OS.
Cutting-edge design with several built-in themes, such as Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize themes easily.
Enables users from different locales to use the component by formatting the text content to suit their preferences.
Easily get started with the Blazor PDF Viewer using a few simple lines of C# code example as demonstrated below. Also, explore our Blazor PDF Viewer Example that shows you how to render the PDF Viewer component in Blazor.
<SfPdfViewer2 DocumentPath="@DocumentPath"
Height="100%"
Width="100%">
</SfPdfViewer2>
@code{
private string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf";
}
Open and display both normal PDF files and those protected with AES and RC4 encryption algorithms (password protected). Open PDF files from stream, file paths, and as byte arrays.
Review PDF files using a rich set of annotating tools in the Blazor PDF Viewer.
Highlight important text in PDF files. Users can customize the color of the highlight or remove it.
Underline notable text in PDF files. You can customize the color of the underline or remove it.
Strikethrough unimportant text in PDF files. You can customize the color of the strikethrough or remove it.
Use drawing tools to add rectangles, circles, ellipses, lines, arrows, and polygons to a PDF file. The shapes can also be moved, resized, and customized.
Measure the distance, area, radius, volume, and perimeter of the objects using measurement tools.
Add stamps to a PDF file like applying rubber stamps to a paper document from the list of built-in stamps or create your own stamps.
Include free text in PDF files. Users can move, resize, remove, or edit the appearance of free text.
Add sticky notes and comments anywhere in a PDF file. They can also be moved and removed.
Add handwritten signatures to PDF files. The signature can be resized, moved, removed, saved, and customized.
Fill, edit, flatten, and save AcroForms fields in PDF files. The form fields displayed in the PDF Viewer are: 1. Text box 2. Password box 3. Combo box 4. Check box 5. Radio button 6. Signature field 7. List box
Annotations in a PDF file can be exported as JSON and stored in the database. You can also import annotation JSON data to a PDF file.
The Blazor PDF Viewer is engineered to be responsive and to withstand changes in the size of the parent element.
The Blazor PDF Viewer supports printing the loaded PDF document along with adding and modifying annotation and signature details.
The PDF Viewer comes with a powerful built-in toolbar to execute important actions such as page navigation, text search, and various annotation actions. Users can design their own toolbars as required with Blazor PDF Viewer APIs.
The Blazor PDF Viewer component supports different types of internal and external navigations.
Bookmarks saved in PDF files are loaded and made ready for easy navigation.
Thumbnails are miniature representations of the actual pages in PDF files. This feature displays thumbnails of the pages and allows easy navigation.
Navigate to the URLs in a PDF file.
Navigate to the different parts of a PDF file that are listed in the table of contents.
Zoom in and out allows users to view a page closer and view a larger part of the page, respectively. Additionally, users can navigate by panning from one region of the PDF Viewer page to another.
Allows users to select and copy text from PDF files. This is helpful for copying and sharing text content.
Locate all occurrences of a given text and navigate to them easily.
Create a custom toolbar with any of the options that can be performed using the built-in toolbar.
The Blazor PDF Viewer component ensures that every tool is accessible using the keyboard. Major operations like open file, page navigation, zoom ratio, add comments, show or hide annotation and form designer toolbars, print, and download can be done without any mouse interaction. This helps in creating highly accessible applications.
The Blazor PDF Viewer has complete WAI-ARIA accessibility support. The PDF Viewer UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.
Right-to-left rendering allows displaying the text and layout of the PDF Viewer from right to left. This improves the user experience and accessibility for RTL languages.
PDF Viewer is also available in Angular, React, Vue, JavaScript, ASP.NET Core, and ASP.NET MVC frameworks that are built from their own TypeScript libraries. Check out the different PDF Viewer platforms from the links below,
The Blazor PDF Viewer works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.
The Syncfusion Blazor PDF Viewer supports the following features:
You can find our Blazor PDF Viewer demo, which demonstrates how to render and configure the PDF Viewer.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.