Overview of Blazor PDF Viewer Component
17 Jul 20264 minutes to read
The Blazor SfPdfViewer component enables viewing, annotating, printing, and downloading PDF files in Blazor applications without requiring a separate server-side PDF service. It provides fast, responsive rendering and is straightforward to integrate into both Blazor Server and Blazor WebAssembly (WASM) applications.
SfPdfViewer delivers the core capabilities of the Blazor PDF Viewer component while adding client-side rendering, reduced server round-trips, and a unified cross-platform package. Key advantages are summarized below.
Key Features
Page Navigation
Core Interactions
- Zooming and panning
- Text searching
- Text selection and copy
- Print PDF files.
Annotations
- Highlight, underline, and strikethrough text markup
- Shape annotations including rectangle, circle, polygon, line, and arrow
- Stamp annotations with built-in and custom stamps
- Measurement annotations including area, distance, perimeter, radius and volume
- Free text annotations
- Comments and sticky notes
- Redaction annotations
Forms
Signatures
Supported Features: Desktop vs Mobile
The following table summarizes feature support on desktop and mobile devices.
| Feature | Desktop | Mobile |
|---|---|---|
| Keyboard interaction | Yes | No |
| Open file from a different origin | Yes | Yes |
| Save a file to a different origin | Yes | Yes |
| Toolbar | Yes | No |
| Mobile toolbar | No | Yes |
| Navigation toolbar | Yes | No |
| Page navigation | Yes | No |
| Magnification | Yes | Yes |
| Text search | Yes | Yes |
| Text selection | Yes | No |
| Pan mode | Yes | Yes |
| Handwritten signature | Yes | Yes |
| Annotation rendering | Yes | Yes |
| Annotation interaction | Yes | Yes |
| Annotation property editing | Yes | No |
| Add annotation through touch | Yes | No |
| Import/export annotation | Yes | Yes |
| Form fields rendering | Yes | Yes |
| Form Designer | Yes | Yes |
| Modern Navigation Panel | Yes | Yes |
| Organize Pages | Yes | Yes |
NOTE
See the Blazor SfPdfViewer feature tour for a concise overview of capabilities; the Blazor SfPdfViewer demo is also available to explore core features interactively.