Class Numeric

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

object Unit Numeric

Derived

Dimension

Implements

IEquatable

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

int

Une valeur indiquant l’ordre relatif des objets comparés.

Exceptions

ArgumentNullException

Autres

ArgumentException

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

bool

’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

int

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

double

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

double

Retourne la valeur qui est convertie au type spécifié.

Exceptions

ArgumentNullException

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

double

Retourne la valeur qui est convertie au type spécifié.

ToString()

Ritorna un System.String che rappresenta questa instanza.

public override string ToString()

Returns

string

Un sistema.String che rappresenta questa instanza.

 Français