## GetValue() {#getvalue}

Obtiene el valor unitario.

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

### Valor_devuelto

El valor del objeto.

### Ver también

* class [Numeric](../)
* espacio de nombres [Aspose.Html.Drawing](../../numeric/)
* asamblea [Aspose.HTML](../../../)

---

## GetValue(UnitType) {#getvalue_1}

Obtiene el valor convertido al especificado[`UnitType`](../../unittype/) .

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

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| unitType | UnitType | Tipo de unidad. |

### Valor_devuelto

Devuelve el valor que se convierte al tipo especificado.

### Excepciones

| excepción | condición |
| --- | --- |
| ArgumentNullException | tipo de unidad |

### Ver también

* class [UnitType](../../unittype/)
* class [Numeric](../)
* espacio de nombres [Aspose.Html.Drawing](../../numeric/)
* asamblea [Aspose.HTML](../../../)


