Class Length

Class Length

Le nom : Aspose.Html.Drawing Assemblaggio: Aspose.HTML.dll (25.4.0)

Il représente une unité de mesure de longueur.

[ComVisible(true)]
public sealed class Length : Dimension, IEquatable<unit>

Inheritance

object Unit Numeric Dimension Length

Implements

IEquatable

I membri ereditari

Dimension.ToString() , Numeric.GetValue() , Numeric.CompareTo(Numeric) , Numeric.Equals(Unit) , Numeric.GetHashCode() , Numeric.ToString() , Numeric.GetValue(UnitType) , 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.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

OnConvert(Unité, unité et double)

On appelle quand l’unité est convertie au type d’une unité spécifiée.

protected override 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

Operators

opérateur +(Longueur, longueur)

La mise en œuvre de l’opérateur +.

public static Length operator +(Length a, Length b)

Parameters

a Length

Paramètres A.

b Length

Paramètres B

Returns

Length

Il risultato dell’operatore.

Exceptions

ArgumentNullException

Les arguments sont nuls

ArgumentException

Les arguments ont des types différentsまたはLes arguments ont une résolution différenteまたは

L’opérateur =(Longueur, longueur)

Implementare l’operatore =

public static bool operator ==(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

bool

Il risultato dell’operatore.

opérateur &il gt;(Longueur, longueur)

Il s’agit de l’opérateur >.

public static bool operator &gt;(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

bool

Il risultato dell’operatore.

Exceptions

ArgumentException

Les arguments ont des types différents

ArgumentNullException

Un argument null

opérateur &Gt ; =(Longueur, longueur)

Il s’agit de l’opérateur >=.

public static bool operator &gt;=(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

bool

Il risultato dell’operatore.

Exceptions

ArgumentException

Les arguments ont des types différents

ArgumentNullException

Un argument null

opérateur !=(Longueur, longueur)

Implementa l’operatore!

public static bool operator !=(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

bool

Il risultato dell’operatore.

Méditerranée <(Longueur, longueur)

La mise en œuvre de l’opérateur <.

public static bool operator &lt;(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

bool

Il risultato dell’operatore.

Exceptions

ArgumentException

Les arguments ont des types différents

ArgumentNullException

Un argument null

Méditerranée <=(Longueur, longueur)

Il s’agit de l’opérateur <=.

public static bool operator &lt;=(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

bool

Il risultato dell’operatore.

Exceptions

ArgumentException

Les arguments ont des types différents

ArgumentNullException

Un argument null

opérateur -(Longueur, longueur)

La mise en œuvre de l’opérateur.

public static Length operator -(Length a, Length b)

Parameters

a Length

Le paramètre a.

b Length

Le paramètre B.

Returns

Length

Il risultato dell’operatore.

Exceptions

ArgumentNullException

Les arguments sont nuls

ArgumentException

Les arguments ont des types différentsまたはLes arguments ont des résolutions différentesまたは

 Français