Class Length
Namn på plats: Aspose.Html.Drawing Sammanfattning: Aspose.HTML.dll (25.4.0)
Representerar en längdmätningsenhet.
[ComVisible(true)]
public sealed class Length : Dimension, IEquatable<unit>
Inheritance
object ← Unit ← Numeric ← Dimension ← Length
Implements
Arvsmedlemmar
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(dubbel, UnitType, UnitType)
Kallas när enheten konverteras till den angivna enhetstypen.
protected override double OnConvert(double value, UnitType fromType, UnitType toType)
Parameters
value
double
och värdet .
fromType
UnitType
från enhetstyp.
toType
UnitType
till enhetstyp.
Returns
Operators
operatör +(Längd, längd)
genomför operatören +.
public static Length operator +(Length a, Length b)
Parameters
a
Length
Parameter av a.
b
Length
parametrar b.
Returns
Resultatet av operatören.
Exceptions
Argument är noll
Argument har olika typerellerArgument har en annan resolutioneller
Operatör =(Längd, längd)
genomför operatören = =
public static bool operator ==(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
operatör &och gt;(Längd, längd)
Genomför operatören >
public static bool operator >(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
Exceptions
Argument har olika typer
Ett argument är noll
operatör &Gt =(Längd, längd)
Genomför operatören >=.
public static bool operator >=(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
Exceptions
Argument har olika typer
Ett argument är noll
operatör !=(Längd, längd)
genomför operatören! =
public static bool operator !=(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
Företag <(Längd, längd)
Genomför operatören <
public static bool operator <(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
Exceptions
Argument har olika typer
Ett argument är noll
Företag <=(Längd, längd)
Genomför operatören <=.
public static bool operator <=(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
Exceptions
Argument har olika typer
Ett argument är noll
operatör -(Längd, längd)
genomför operatören -.
public static Length operator -(Length a, Length b)
Parameters
a
Length
Parametern är A.
b
Length
Den parametrar b.
Returns
Resultatet av operatören.
Exceptions
Argument är noll
Argument har olika typerellerArgument har olika resolutionereller