AVAILABLE NOW: Spring 2026 Release

Home

All Blogs

Best PDF Measurement Libraries for Developers (2026)

Published May 13, 2026

Updated May 15, 2026

Read time

5 min

email
linkedIn
twitter
link

Best PDF Measurement Libraries for Developers (2026)

Sanity Image

Isaac Maw

Technical Content Creator

Summary: For architecture, engineering and construction software, it's important to have capabilities that support not only PDF documents like permits and forms, but also technical drawings. Learn what makes a document SDK right for using, reviewing and sharing CAD documents and PDF drawings, and how to choose the right vendor.

CAD drawings are frequently converted to PDF for sharing, review, and archiving purposes, especially because seats in expensive CAD software are at a premium. However, to support comprehensive review capabilities for users viewing drawings in PDF format, accurate measurement is an important tool.

Sanity Image

CAD drawings are frequently converted to PDF for sharing, review, and archiving purposes, especially because seats in expensive CAD software are at a premium. A measurement SDK supports comprehensive review capabilities for users viewing drawings in PDF format.

Accurate measurement is an important tool for software platforms such as an Engineering Document Management System or Asset Lifecycle Information Management. Developers working on any application that needs to support viewing capabilities without CAD licenses want accurate, robust CAD PDF capabilities, especially in architecture, engineering, construction, and insurance.

What Measurement Tools Actually Do

Copied to clipboard

PDF measurement tools add support for measurements like distance, area, perimeter, and angles to PDF technical drawings. With Apryse, measurements can be added to documents as annotations, supporting communication and collaboration.

The key to PDF measurement is the scale. Based on the scale of the drawing, (eg. 1 inch = 1 foot) a scale is defined in the annotation tool allowing users to determine the actual size of things in an architectural diagram. 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.

Blog image

What is the Apryse CAD Module?

Copied to clipboard

The best support for AEC workflows includes not just measurement of PDF technical drawings, but also support for original CAD file types. By building both in your application, developers ensure that CAD workflows can be fully supported without external tools.

  • View CAD files: Users can view complex CAD files, plus 20+ other file types quickly and flawlessly, even at high zoom, on all platforms and devices. Easily show or hide layers in a drawing.
  • Convert CAD files: Easily add high-fidelity direct conversion from CAD files, on any web, mobile, server or desktop software. Convert to PDF, PDF/A, PDF/E-2, image file types, and more.
  • Preview CAD files: Quickly generate compact page-one previews and thumbnails of CAD drawings, designs, or blueprints, and display them in any client.

When selecting a vendor for your document processing SDK, it’s important to consider if CAD file formats are supported, or only PDF.

Measurement SDK Comparison

Copied to clipboard

Capability

Apryse

Nutrient

ComPDFKit

PDF.js Express by Apryse

Primary Positioning

Enterprise document SDK including CAD

PDF SDK with measurement + collaboration

PDF SDK

Lightweight open-source web PDF viewer SDK

Platforms

Web, iOS, Android, Windows, macOS, Linux, Server

Web, iOS, Android, Windows, macOS, Server

Web, iOS, Android, Windows, macOS, Linux, server

Web only

Native CAD Viewing Support

Yes — DWG, DXF, DGN, DWF, and RVT viewing

Partial — DWG and DXF viewing only

No CAD support

No CAD support

CAD-to-PDF Workflows

Yes

Some support

Not prominently positioned

No

Measurement Tools

Distance, perimeter, area, arc, angle, count, radius, center angle

Distance, area, perimeter

Distance, area, perimeter

Distance, area, perimeter

Scale Calibration UX

Built-in scale calibration UI, precision adjustment, snap-to-object support

Built-in scale calibration UI, precision adjustment

Built-in scale calibration UI, precision adjustment

Minimal

Measurement Annotations Saved as PDF Standard Annotations

Yes — ISO 32000 compliant

Standard PDF annotations supported

Standard PDF annotations supported

Yes

Snap-to Geometry/Precision Tooling

Yes

Not prominently documented

Not prominently documented

No

Typical Pricing Model

Commercial SDK licensing

Commercial SDK licensing

Commercial SDK licensing

Lower-cost SaaS/developer licensing

CAD + PDF together – the Apryse differentiator

Copied to clipboard

Most buyers in AEC hit the wall when they realize PDF measurement doesn't handle DWG files or other CAD formats. The Apryse CAD Module supports many CAD formats, including Autodesk AutoCAD® DWG™, DXF™, RVT™, DWF™, and Bentley MicroStation® DGN™, without you or your users needing any CAD software or CAD licenses. 

Combined with measurement and other document tools like overlay comparison, watermarks, and conversion, Apryse provides an end-to-end technical drawing workflow for everything that is needed after drafting.

Setting up Measurement in WebViewer

Copied to clipboard

When creating a new instance of WebViewer, the enableMeasurement property needs to be set to true to display the measurement annotation tools in the UI:

WebViewer({
  ... // other options
  enableMeasurement: true
}, viewerElement);

Besides passing in a constructor option, measurement can be toggled using the WebViewer API with the enableFeatures and disableFeatures functions:

WebViewer({
  ... // other options
}, viewerElement)
  .then(instance => {
    instance.UI.enableFeatures([instance.Feature.Measurement]);
  });

Creating Measurement Annotations With the UI

Copied to clipboard

To create measurement annotations in WebViewer, click the Measure button in the top header, then select one of the measurement tools. Next use the selected tool to create a measurement annotation on the document. An overlay with scale and measurement information will show up when you are creating or selecting a measurement annotation.

Blog image

Getting scale and precision programmatically

Copied to clipboard

The following example shows how you can determine if an annotation is a measurement annotation, and logs the scale and precision of it after it's added:

Start Your Trial

Copied to clipboard

When you’re ready to try WebViewer in your AEC platform, start your free trial to embed full functionality in your application and try all the features free for 30 days. Then, contact sales to explore licensing and other questions.

FAQ

Copied to clipboard

Q: Can I measure on mobile?

A: Yes, because WebViewer runs client-side in the browser, WebViewer features are supported on mobile device browsers.

Q: What units are supported?

A: The Apryse measurement tool supports a variety of units for both the paper and display. Paper units include inches, centimeters, millimeters and points. Display units include in, ft, cm, mm, pt, m, yd, ft-in, km, and mi.

Q: Can measurements be stored and re-read later?

A: Yes, annotations containing measurements can be stored as part of PDF files, and retrieved programmatically.

Ready to get started?

Sign up for a free trial to begin implementing the Apryse SDK in your application!