Samples are not runnable from the file system. Please run using "npm start" or use a local web server.

# Advanced Demo for PDF Viewer

#### Text compare

Shows how to compare text in different documents.

Launch demo View Source

#### Accessibility

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

Launch demo View Source

#### Measurement Annotations

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

Launch demo View Source

#### Text position

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

Launch demo View Source

#### Table Extraction

This sample shows how to use the PDFTron.AI REST endpoint to extract table from PDF documents.

Launch demo View Source