WebViewer is a powerful JavaScript-based PDF Library that's part of the PDFTron PDF SDK. It allows you to view and annotate PDF files on your web app with a fully customizable UI.
This is a WebViewer sample to show how you can save and load annotations through files with an ASP.NET backend.
git clone https://github.com/PDFTron/webviewer-annotations-aspnet-sample.git
cd webviewer-annotations-aspnet-sample
npm install
- Open the server/webviewer-annotations-asp-net-sample.sln file in Visual Studio.
- Build the project and then run with IIS Express.
- When WebViewer has loaded you can add some annotations and then press the "save annotations" button that was added to the top right corner.
- After refreshing the page the saved annotations should be loaded into the document.
See contributing.
See license.