Measure PDF Distance in React Native

Measure distance in a PDF using PSPDFKit for React Native. To measure distance in your app, contact the Sales team to add the Measurement Tools component to your license, or run the SDK in trial mode.

Measure distance in one of the following ways:

Measuring Distance between Two Points

Measure the distance between two points in one of the following ways:

Measuring Distance between Two Points Using the Built-In UI

To measure the distance between two points using the built-in UI, follow these steps:

  1. Touch and hold the annotation tools icon.

Android
iOS
  1. Tap Distance.

  2. Draw a straight line between the two points you want to measure.

Android
iOS

Measuring Distance between Two Points Programmatically

To measure distance programmatically in React Native, contact Support.

Measuring Distance between Multiple Connected Points

Measure the distance between multiple connected points in one of the following ways:

Measuring Distance between Multiple Connected Points Using the Built-In UI

To measure the distance between multiple connected points using the built-in UI, follow these steps:

  1. Touch and hold the annotation tools icon.

  2. Tap Perimeter.

  3. Draw lines between the multiple points you want to measure.

Android
iOS

Measuring Distance between Multiple Connected Points Programmatically

To measure distance programmatically in React Native, contact Support.

Configuring Measurements

For more information on configuring measurements, see the guide on configuring measurements.