---
title: "Measure area in a PDF in MAUI | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/maui/measurements/measure-area/"
md_url: "https://www.nutrient.io/guides/maui/measurements/measure-area.md"
last_updated: "2026-06-08T09:14:14.425Z"
description: "The MAUI PDF library enables measuring area in one of the following ways:."
---

# Measure PDF area in MAUI

The MAUI PDF library enables measuring area in one of the following ways:

- [Measure the area of a custom-drawn polygon](#measuring-the-area-of-a-polygon)

- [Measure the area of an ellipse](#measuring-the-area-of-an-ellipse)

- [Measure the area of a rectangle](#measuring-the-area-of-a-rectangle)

To measure area in your app, [contact the Sales team](https://www.nutrient.io/contact-sales) 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:

- [Using the built-in user interface (UI)](#measuring-the-area-of-a-polygon-using-the-built-in-ui)

- [Programmatically](#measuring-the-area-of-a-polygon-programmatically)

### 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:

1. Click the measurement tools icon.

2. Tap **Polygon Area**.

3. 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](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.Polygon.html), which has a [`MeasurementAttributes`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.ShapeAnnotationBase.html) property on which you can configure the [`MeasurementScale`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.MeasurementAttributes.html#PSPDFKit_Sdk_Models_Annotation_Shape_MeasurementAttributes_MeasurementScale) and [`MeasurementPrecision`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.MeasurementAttributes.html#PSPDFKit_Sdk_Models_Annotation_Shape_MeasurementAttributes_Precision) properties. For more information on scale and precision, see the guide on [configuring measurements](https://www.nutrient.io/guides/maui/measurements/configure-measurements.md).

## Measuring the area of an ellipse

Measure the area of an ellipse in one of the following ways:

- [Using the built-in user interface (UI)](#measuring-the-area-of-an-ellipse-using-the-built-in-ui)

- [Programmatically](#measuring-the-area-of-an-ellipse-programmatically)

### 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:

1. Click the measurement tools icon.

2. Tap **Ellipse Area**.

3. 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](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.Ellipse.html), which has a [`MeasurementAttributes`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.ShapeAnnotationBase.html) property on which you can configure the [`MeasurementScale`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.MeasurementAttributes.html#PSPDFKit_Sdk_Models_Annotation_Shape_MeasurementAttributes_MeasurementScale) and [`MeasurementPrecision`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.MeasurementAttributes.html#PSPDFKit_Sdk_Models_Annotation_Shape_MeasurementAttributes_Precision) properties. For more information on scale and precision, see the guide on [configuring measurements](https://www.nutrient.io/guides/maui/measurements/configure-measurements.md).

## Measuring the area of a rectangle

Measure the area of a rectangle in one of the following ways:

- [Using the built-in user interface (UI)](#measuring-the-area-of-a-rectangle-using-the-built-in-ui)

- [Programmatically](#measuring-the-area-of-a-rectangle-programmatically)

### 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:

1. Click the measurement tools icon.

2. Tap **Rectangle Area**.

3. 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](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.Rectangle.html), which has a [`MeasurementAttributes`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.ShapeAnnotationBase.html) property on which you can configure the [`MeasurementScale`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.MeasurementAttributes.html#PSPDFKit_Sdk_Models_Annotation_Shape_MeasurementAttributes_MeasurementScale) and [`MeasurementPrecision`](https://www.nutrient.io/api/maui/sdk/PSPDFKit.Sdk.Models.Annotation.Shape.MeasurementAttributes.html#PSPDFKit_Sdk_Models_Annotation_Shape_MeasurementAttributes_Precision) properties. For more information on scale and precision, see the guide on [configuring measurements](https://www.nutrient.io/guides/maui/measurements/configure-measurements.md).

## Configuring measurements

For more information on configuring measurements, see the [guide on configuring measurements](https://www.nutrient.io/guides/maui/measurements/configure-measurements.md).
---

## Related pages

- [Measure PDF distance in MAUI](/guides/maui/measurements/measure-distance.md)
- [Measure distance and area in a PDF in MAUI](/guides/maui/measurements.md)
- [Configure PDF measurements in MAUI](/guides/maui/measurements/configure-measurements.md)

