Class LengthOrAuto
Le nom : Aspose.Html.Drawing Assemblaggio: Aspose.HTML.dll (25.4.0)
Il représente un conteneur pour la longueur de stockage ou des unités “auto”.
[ComVisible(true)]
public class LengthOrAuto : Unit, IEquatable<unit>
Inheritance
object ← Unit ← LengthOrAuto
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()
Constructors
LengthOrAuto()
Initialisez une nouvelle instance de la classe Aspose.Html.Drawing.LengthOrAuto et mettez l’état à ‘auto’.
public LengthOrAuto()
LengthOrAuto(Length)
Initialisez une nouvelle instance de la classe Aspose.Html.Drawing.LengthOrAuto et mettez l’état à ’longht'.
public LengthOrAuto(Length length)
Parameters
length
Length
La lunghezza .
Properties
IsAuto
Obtenez une valeur indiquant si cette instance est dans « auto ».
public bool IsAuto { get; }
Valore di proprietà
Length
Riceve o fissa la lunghezza.
public Length Length { get; set; }
Valore di proprietà
UnitType
Obtenez le type d’unité du Aspose.Html.Drawing.Unit.
public UnitType UnitType { get; }
Valore di proprietà
Methods
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’.
SetAuto()
Résetez le conteneur à l’état « auto ».
public void SetAuto()
ToString()
Ritorna un System.String che rappresenta questa instanza.
public override string ToString()
Returns
Un sistema.String che rappresenta questa instanza.
Operators
Opérateur implicite LengthOrAuto(Length)
Il effectue une conversion implicite de Aspose.Html.Drawing.LongthOrAuto.La longueur à __ WL51.
public static implicit operator LengthOrAuto(Length length)
Parameters
length
Length
Il valore .
Returns
Il risultato della conversione.