Measure PDF Distance in MAUI

To measure distance in your MAUI app, contact the Sales team to add the Measurement Tools component to your license, or run the SDK in trial mode.

Measuring Distance between Two Points

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

  1. Click the measurement tools icon.

  2. Tap Distance.

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

Measuring Distance between Multiple Points

To measure the distance between multiple connected points, follow these steps:

  1. Click the measurement tools icon.

  2. Tap Perimeter.

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

Measuring Distance Programmatically

APIs to measure distance in PSPDFKit for MAUI are identical to those for our Web SDK. Refer to the PSPDFKit for Web documentation on measuring distance between two points and multiple points for more information. If you’d like to bridge these APIs with your MAUI app, refer to our guide that explains how to bridge web APIs.