Some test text!

Hamburger Icon

Web / Guides / Overview

Measure area, distance & perimeter in PDFs using JavaScript

PDF documents allow line, polyline and polygon annotations to contain measurement information to measure the distance, perimeter and area of parts of a document. A scale is defined so that for example, one inch on the document is defined as one foot, allowing you determine the actual size of things in an architectural diagram once you know the scale.

Apryse SDK has built-in tools allowing you to create these annotations and provides a UI to modify common properties. There is also a more advanced programmatic API for fine grained control.

Get started

Setup WebViewer for measurement
To setup Webviewer to display and enable measurements.

Measurement tools
To set measurement properties for scale and precision using the UI or programmatically.

Measurement annotations
To create measurement annotations using the UI.

Get the answers you need: Chat with us