Some test text!

menu
Advancedkeyboard_arrow_down

Advanced JavaScript samples

linkText compare

Shows how to compare text in different documents.

Edit on CodeSandbox Launch demoView source code

linkVideo Annotations

Allows the functionality of annotating video frames.

Edit on CodeSandbox Launch demo

linkPreloading

Shows how to preload WebViewer and documents to improve user experience.

Edit on CodeSandbox Launch demoView source code

linkText position

Shows how to extract text positions from a document. The sample highlights the positions with different colors.

Edit on CodeSandbox Launch demoView source code

linkRedaction

Shows how to redact and permanently remove text, images or graphics from a document.

Edit on CodeSandbox Launch demoView source code

linkOffice to PDF

This sample illustrates how to convert office files to PDF.

Edit on CodeSandbox Launch demoView source code

linkRedact people faces from PDF

Shows how to automatically detect and redact people faces from documents.

Launch demoView source code

linkDiff Documents

Shows how to render three synchronized panels where the middle panel shows pixel differences between the two documents.

Edit on CodeSandbox Launch demoView source code

linkMeasurement Annotations

Shows how to create annotations that measure distance, perimeter and area.

Edit on CodeSandbox Launch demoView source code

linkFlipbook

Demonstrates how to extract canvas of each page. The sample uses turn.js to render them.

Edit on CodeSandbox Launch demoView source code

linkOffline

Demonstrates how to use ServiceWorker to use WebViewer offline.

Edit on CodeSandbox View source code on Github

linkAccessibility

Demonstrates how to use accessibility feature of WebViewer to read PDF text out loud.

Edit on CodeSandbox Launch demoView source code

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our upcoming webinar to learn about how to collaborate on videos frame by frame directly in your browser

Save your seat
close