Class Numeric
Le nom : Aspose.Html.Drawing Assemblaggio: Aspose.HTML.dll (25.4.0)
Il fournit la classe de base pour les types numériques.
[ComVisible(true)]
public abstract class Numeric : Unit, IEquatable<unit>
Inheritance
Derived
Implements
I membri ereditari
Unit.Equals(Unit) , Unit.Equals(object) , Unit.GetHashCode() , Unit.ToString() , Unit.FromCentimeters(double) , Unit.FromMillimeters(double) , Unit.FromQuarterMillimeters(double) , Unit.FromInches(double) , Unit.FromPicas(double) , Unit.FromPoints(double) , Unit.FromPixels(double) , Unit.FromDegrees(double) , Unit.FromGradians(double) , Unit.FromRadians(double) , Unit.FromTurns(double) , Unit.FromSeconds(double) , Unit.FromMilliseconds(double) , Unit.FromHertz(double) , Unit.FromKiloHertz(double) , Unit.FromDotsPerInch(double) , Unit.FromDotsPerCentimeters(double) , Unit.FromDotsPerPixel(double) , Unit.UnitType , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
CompareTo(Numeric)
Confronta l’istanza corrente con un altro oggetto dello stesso tipo e restituisce un integratore che indica se l’istanza corrente precede, segue o si verifica nella stessa posizione nell’ordine della sorta come l’altro oggetto.
public int CompareTo(Numeric other)
Parameters
other
Numeric
L’autre objet à comparer.
Returns
Une valeur indiquant l’ordre relatif des objets comparés.
Exceptions
Autres
Equals(Unit)
Déterminer si le Aspose.Html.Drawing.Unit spécifié est égal à cette instance.
public override bool Equals(Unit other)
Parameters
other
Unit
Le Aspose.Html.Drawing.Unit pour comparer avec cette instance.
Returns
’true’ si le Aspose.Html.Drawing.Unit spécifié est égal à cette instance; autrement, ‘faux’.
GetHashCode()
Ritorna un codice hash per questo caso.
public override int GetHashCode()
Returns
Un codice hash per questo esempio, adatto per l’uso in algoritmi di hashing e strutture di dati come una tabella hash.
GetValue()
Il obtient la valeur de l’unité.
public double GetValue()
Returns
Il valore dell’oggetto.
GetValue(UnitType)
Obtenez la valeur convertie à la Aspose.Html.Drawing.UnitType spécifiée.
public double GetValue(UnitType unitType)
Parameters
unitType
UnitType
Tipo di unità.
Returns
Retourne la valeur qui est convertie au type spécifié.
Exceptions
Unité
OnConvert(Unité, unité et double)
On appelle quand l’unité est convertie au type d’une unité spécifiée.
protected abstract double OnConvert(double value, UnitType fromType, UnitType toType)
Parameters
value
double
Il valore .
fromType
UnitType
du type d’unité.
toType
UnitType
Unité de type.
Returns
Retourne la valeur qui est convertie au type spécifié.
ToString()
Ritorna un System.String che rappresenta questa instanza.
public override string ToString()
Returns
Un sistema.String che rappresenta questa instanza.