
**Summary:** A number that indicates a render measurement.

**Module:** [aspose.gis.rendering](/psd/python-net/aspose.gis.rendering/)

**Full Name:** aspose.gis.rendering.Measurement

**Aspose.PSD Version:** 25.9.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [Measurement()](#Measurement__1) | Initializes a new instance of the Measurement class |
| [Measurement(value, unit)](#Measurement_value_unit_2) | Creates new instance. |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| unit | [Unit](/psd/python-net/aspose.gis.spatialreferencing/unit) | r | A unit of measurement. |
| value | double | r | A number that indicates the length of the measurement. |
| zero [static] | [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | r | A measurement of zero length. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [inches(value)](#inches_value_1) | Returns a new instance of <c>Measurement</c> that represents length in inches. |
| [map_units(value)](#map_units_value_2) | Returns a new instance of <c>Measurement</c> that represents length in maps Spatial Reference units. |
| [meters_on_earth(value)](#meters_on_earth_value_3) | Returns a new instance of <c>Measurement</c> that represents length in meters on the Earth. |
| [millimeters(value)](#millimeters_value_4) | Returns a new instance of <c>Measurement</c> that represents length in millimeters. |
| [pixels(value)](#pixels_value_5) | Returns a new instance of <c>Measurement</c> that represents length in pixels. |
| [points(value)](#points_value_6) | Returns a new instance of <c>Measurement</c> that represents length in points. |


### Constructor: Measurement() {#Measurement__1}


```
 Measurement() 
```

Initializes a new instance of the Measurement class

### Constructor: Measurement(value, unit) {#Measurement_value_unit_2}


```
 Measurement(value, unit) 
```

Creates new instance.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | A number that indicates the length of the measurement. |
| unit | [Unit](/psd/python-net/aspose.gis.spatialreferencing/unit) | A unit of measurement. |

### Method: inches(value)  [static] {#inches_value_1}


```
 inches(value) 
```

Returns a new instance of <c>Measurement</c> that represents length in inches.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | Number of inches. |

**Returns**

| Type | Description |
| :- | :- |
| [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | New instance of <c>Measurement</c> class. |


### Method: map_units(value)  [static] {#map_units_value_2}


```
 map_units(value) 
```

Returns a new instance of <c>Measurement</c> that represents length in maps Spatial Reference units.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | Number of units. |

**Returns**

| Type | Description |
| :- | :- |
| [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | New instance of <c>Measurement</c> class. |


### Method: meters_on_earth(value)  [static] {#meters_on_earth_value_3}


```
 meters_on_earth(value) 
```

Returns a new instance of <c>Measurement</c> that represents length in meters on the Earth.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | Number of meters. |

**Returns**

| Type | Description |
| :- | :- |
| [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | New instance of <c>Measurement</c> class. |


### Method: millimeters(value)  [static] {#millimeters_value_4}


```
 millimeters(value) 
```

Returns a new instance of <c>Measurement</c> that represents length in millimeters.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | Number of millimeters. |

**Returns**

| Type | Description |
| :- | :- |
| [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | New instance of <c>Measurement</c> class. |


### Method: pixels(value)  [static] {#pixels_value_5}


```
 pixels(value) 
```

Returns a new instance of <c>Measurement</c> that represents length in pixels.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | Number of pixels. |

**Returns**

| Type | Description |
| :- | :- |
| [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | New instance of <c>Measurement</c> class. |


### Method: points(value)  [static] {#points_value_6}


```
 points(value) 
```

Returns a new instance of <c>Measurement</c> that represents length in points.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| value | double | Number of points. |

**Returns**

| Type | Description |
| :- | :- |
| [Measurement](/psd/python-net/aspose.gis.rendering/measurement) | New instance of <c>Measurement</c> class. |


