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

Compare documents by image, pixels

Requirements

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

Web SDKPackage: CompareFull API

This Javascript sample shows how to render three synchronized panels where the middle panel shows pixel differences between the two documents. Try out the diff demo now.

The full API is enabled by passing the fullAPI option into the WebViewer constructor. This is already included in your sample code below.

Learn more about our Web SDK and all file compare options.

Implementation steps

To use compare PDFs side-by-side in JavaScript with WebViewer:

Step 1: Follow get started in your preferred web stack for WebViewer Step 2: Add the sample code provided in this guide

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

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

spinner