PDF viewer
PdfViewerControlLet users read, search, annotate and fill PDFs without leaving your app.
Overview
PdfViewerControl is a Blazor PDF viewer that lets users read, search, annotate and fill in PDF files in the browser. Use it for contracts, forms and statements: SaveAsync hands the edited file back to your code as bytes, and no PDF content leaves the browser until your application asks for it. It ships in the FlexCore.Documents package with pdf.js and pdf-lib as static assets, so nothing loads from a CDN.
Examples
#Full viewer
Search for FlexCore, open the Details pane for bookmarks and the form on page 2, highlight a selection or add a note, then Download, Print or Save to host with your edits.
Nothing saved yet.
#Read-only, from bytes, driven from the page
Load the same file from bytes, read-only, with Open, annotations, form filling and bookmarks turned off; the buttons call the viewer's methods and its events feed the line below.
Loading… Page 1. No search.