## Numeric class

Fornisce la classe base per i tipi numerici.

```csharp
public abstract class Numeric : Unit
```

## Proprietà

| Nome | Descrizione |
| --- | --- |
| [UnitType](../../aspose.html.drawing/unit/unittype/) { get; } | Ottiene il tipo di unità di[`Unit`](../unit/) . |

## Metodi

| Nome | Descrizione |
| --- | --- |
| [CompareTo](../../aspose.html.drawing/numeric/compareto/)(Numeric) | Confronta l'istanza corrente con un altro oggetto dello stesso tipo e restituisce un numero intero che indica se l'istanza corrente precede, segue o si trova nella stessa posizione nell'ordinamento dell'altro oggetto. |
| override [Equals](../../aspose.html.drawing/unit/equals/)(object) | Determina se specificatoObject , è uguale a questa istanza. |
| override [Equals](../../aspose.html.drawing/numeric/equals/#equals)(Unit) | Determina se specificato[`Unit`](../unit/) , è uguale a questa istanza. |
| override [GetHashCode](../../aspose.html.drawing/numeric/gethashcode/)() | Restituisce un codice hash per questa istanza. |
| [GetValue](../../aspose.html.drawing/numeric/getvalue/#getvalue)() | Ottiene il valore dell'unità. |
| [GetValue](../../aspose.html.drawing/numeric/getvalue/#getvalue_1)(UnitType) | Ottiene il valore convertito nel valore specificato[`UnitType`](../unittype/) . |
| override [ToString](../../aspose.html.drawing/numeric/tostring/)() | Restituisce aString che rappresenta questa istanza. |

### Guarda anche

* class [Unit](../unit/)
* spazio dei nomi [Aspose.Html.Drawing](../../aspose.html.drawing/)
* assemblea [Aspose.HTML](../../)


