---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/Measure
---

# Measure

## Overview

`Measure` is a class in Aspose.PDF FOSS for .NET.

Measure-units metadata attached to a LineAnnotation (PDF 32000 §12.5.6.13 measure dictionaries).

This class provides 1 method for working with Measure objects in .NET programs.
Available methods include: `Measure`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `AngleFormat`, `Annotation`, `AreaFormat`, `DistanceFormat`, `Origin`, `ScaleRatio`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Annotation` | `Annotation?` | Read | The annotation this Measure decorates. |
| `ScaleRatio` | `string` | Read/Write | Scale-ratio string (e.g. |
| `XYFactor` | `double` | Read/Write | X/Y aspect-ratio factor (non-isotropic measure systems). |
| `Origin` | `Aspose.Pdf.Point` | Read/Write | Origin point in user space for measure calculations. |
| `DistanceFormat` | `NumberFormatList` | Read/Write | Linear-distance number-format list. |
| `AreaFormat` | `NumberFormatList` | Read/Write | Area number-format list. |
| `AngleFormat` | `NumberFormatList` | Read/Write | Angle number-format list. |
| `SlopeFormat` | `NumberFormatList` | Read/Write | Slope number-format list. |
| `XFormat` | `NumberFormatList` | Read/Write | X-coordinate number-format list. |
| `YFormat` | `NumberFormatList` | Read/Write | Y-coordinate number-format list. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Measure(annotation: Annotation)` | Construct a Measure bound to annotation, populating the scale ratio and number-format lists from its /Measure dictionary (PDF 32000 §12.5.6.10) when present. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)