For the complete documentation index, see llms.txt. This page is also available as Markdown.
Node.jsFormsOfficeViewing

XFDF Annotations in PDF 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

Quickly import and export PDF annotations using XFDF — an XML-based format that captures details like position, color, and content.

This demo allows you to:

  • Upload your own PDF file

  • Edit the layout and content and obtain the XFDF

  • Preview the XFDF with the view document XFDF option

Implementation steps To add XFDF import and export capability on PDFs with WebViewer:

Step 1: Get started with WebViewer in 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