Measure PDF area in MAUI
The MAUI PDF library enables measuring area in one of the following ways:
To measure area in your app, contact the Sales team to add the Measurement Tools component to your license, or run the SDK in trial mode.
Measuring the area of a polygon
Measure the area of a custom-drawn polygon in one of the following ways:
Measuring the area of a polygon using the built-in UI
To measure the area of a polygon using the built-in UI, follow these steps:
-
Click the measurement tools icon.
-
Tap Polygon Area.
-
Draw a polygon around the area you want to measure.
Measuring the area of a polygon programmatically
To measure the area of a polygon programmatically, use the Polygon
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 the area of an ellipse
Measure the area of an ellipse in one of the following ways:
Measuring the area of an ellipse using the Built-In UI
To measure the area of an ellipse using the built-in UI, follow these steps:
-
Click the measurement tools icon.
-
Tap Ellipse Area.
-
Draw an ellipse around the area you want to measure.
Measuring the area of an ellipse programmatically
To measure the area of an ellipse programmatically, use the Ellipse
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 the area of a rectangle
Measure the area of a rectangle in one of the following ways:
Measuring the area of a rectangle using the Built-In UI
To measure the area of a rectangle using the built-in UI, follow these steps:
-
Click the measurement tools icon.
-
Tap Rectangle Area.
-
Draw a rectangle around the area you want to measure.
Measuring the area of a rectangle programmatically
To measure the area of a rectangle programmatically, use the Rectangle
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.
Configuring measurements
For more information on configuring measurements, see the guide on configuring measurements.