## GetValue() {#getvalue}

Hämtar enhetsvärdet.

```csharp
public double GetValue()
```

### Returvärde

Objektvärdet.

### Se även

* class [Numeric](../)
* namnutrymme [Aspose.Html.Drawing](../../numeric/)
* hopsättning [Aspose.HTML](../../../)

---

## GetValue(UnitType) {#getvalue_1}

Får värdet omvandlat till det angivna[`UnitType`](../../unittype/) .

```csharp
public double GetValue(UnitType unitType)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| unitType | UnitType | Typ av enhet. |

### Returvärde

Returnerar värde som konverteras till angiven typ.

### Undantag

| undantag | skick |
| --- | --- |
| ArgumentNullException | enhetstyp |

### Se även

* class [UnitType](../../unittype/)
* class [Numeric](../)
* namnutrymme [Aspose.Html.Drawing](../../numeric/)
* hopsättning [Aspose.HTML](../../../)


