Disable PDF Editing and Annotations in Read-Only Mode Using JavaScript
By setting the correct permissions, you can run PSPDFKit for Web in read-only mode, thereby preventing users from editing or annotating a PDF document. Get additional resources by visiting our guide about customizing annotation permissions.
This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.