For the complete documentation index, see llms.txt. This page is also available as Markdown.
OfficePDF/UAPDF/AAnnotationsSecurity

Annotations Permissions Showcase Demo Code Sample

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Web SDKLive demo

Enable customization of user permissions to interact with annotations in the PDF file, completely client-side with three different levels of permissions:

  • Administrator

  • User

  • Read-Only

This demo lets you:

  • Upload a PDF file and add user permissions

  • Add permissions to users as administrator, user, or read-only

  • Interact with annotations in the PDF file according to the set permission

Implementation steps To add annotations permissions capability to a PDF with WebViewer:

Step 1: Choose your preferred web stack Step 2: Add the ES6 JavaScript sample code provided in this guide

Once you generate your license key, it will automatically be included in your sample code below.

spinner

{% code title="index.css" %}

{% tabs %} {% tab title="CSS" %} {% code lineNumbers="true" %}