For the complete documentation index, see llms.txt. This page is also available as Markdown.
EditingFull-API

Edit PDF Elements - Sample Code

Requirements

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

Web SDKFull API

Sample JavaScript code for using Apryse SDK to programmatically edit an existing PDF document's page display list and the graphics state attributes on existing elements.

In particular, this sample strips all images from the page and changes the text color to blue. Some of Apryse SDK's other functions for programmatically editing PDFs include the Cos/SDF low-level API, page manipulation, and more.

Implementation steps

Step 1: Follow get started in your preferred web stack for WebViewer Step 2: Enable the full API by passing the fullAPI option into the WebViewer constructor Step 3: Add the sample code provided in this guide

This full sample is one of many included in the manual download of WebViewer.