Some test text!


Adding measurement tools to viewer in Android

By default, creating and editing measurement annotations in the drop-in components DocumentActivity and PdfViewCtrlTabHostFragment2 are automatically enabled unless disabled using ToolManagerBuilder. You can learn more about configuring ToolManager here.

To create a measurement annotations, tap and hold on an area of the PDF without any text or annotations to bring up the long-press quick menu. Then find a group called Measure in the overflow menu.

There are three measurement tools:


linkEnable end point snapping

Snapping is useful when you want to precisely place annotations in documents by snapping them to lines & objects. The point snapping API can be used to easily place annotations to the exact location.

measure snapping

This is disabled by default and can be enabled as follows:



The Calibrate menu option for measurement annotations allows you to determine a PDF's scale, enabling accurate measurements.

measure calibrate

Get the answers you need: Support


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