## GetValue() {#getvalue}

単位値を取得します。

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

### 戻り値

オブジェクト値.

### 関連項目

* class [Numeric](../)
* 名前空間 [Aspose.Html.Drawing](../../numeric/)
* 組み立て [Aspose.HTML](../../../)

---

## GetValue(UnitType) {#getvalue_1}

指定された値に変換された値を取得します[`UnitType`](../../unittype/).

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

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| unitType | UnitType | ユニットのタイプ。 |

### 戻り値

指定された型に変換された値を返します.

### 例外

| 例外 | 調子 |
| --- | --- |
| ArgumentNullException | ユニット型 |

### 関連項目

* class [UnitType](../../unittype/)
* class [Numeric](../)
* 名前空間 [Aspose.Html.Drawing](../../numeric/)
* 組み立て [Aspose.HTML](../../../)


