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
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:
-
Click the measurement tools icon.
-
Tap Distance.
-
Draw a straight line between the two points you want to measure.
Measuring distance between two points programmatically
To measure the area of a rectangle programmatically, use the Line
shape annotation, which has a MeasurementAttributes
property on which you can configure the MeasurementScale
and MeasurementPrecision
properties. For more information on scale and precision, see the guide on configuring measurements.
Measuring distance between multiple 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, follow these steps:
-
Click the measurement tools icon.
-
Tap Perimeter.
-
Draw lines between the multiple points you want to measure.
Measuring distance between multiple connected points programmatically
To measure the distance between multiple connected points programmatically, use the Polyline
shape annotation, which has a MeasurementAttributes
property on which you can configure the MeasurementScale
and MeasurementPrecision
properties. For more information on scale and precision, see the guide on configuring measurements.