Class LengthOrAuto
Il nome: Aspose.Svg.Drawing Assemblea: Aspose.SVG.dll (25.5.0)
Represente un contenitore per lunghezza di stoccaggio o unità ‘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()
Inizializza una nuova instanza della classe Aspose.Svg.Drawing.LengthOrAuto e mette lo stato a ‘auto’.
public LengthOrAuto()
LengthOrAuto(Length)
Inizializza una nuova instanza della classe Aspose.Svg.Drawing.LengthOrAuto e mette lo stato a ’lenght'.
public LengthOrAuto(Length length)
Parameters
length
Length
La lunghezza .
Properties
IsAuto
Riceve un valore che indica se questa instanza è in ‘auto’.
public bool IsAuto { get; }
Valore di proprietà
Length
Riceve o fissa la lunghezza.
public Length Length { get; set; }
Valore di proprietà
UnitType
Riceve il tipo di unità di Aspose.Svg.Drawing.Unit.
public UnitType UnitType { get; }
Valore di proprietà
Methods
Equals(Unit)
Determinerà se la specifica Aspose.Svg.Drawing.Unit, è uguale a questa instanza.
public override bool Equals(Unit other)
Parameters
other
Unit
L’Aspose.Svg.Drawing.Unit per confrontare con questa instanza.
Returns
’true’ se la specifica Aspose.Svg.Drawing.Unit è uguale a questa instanza; altrimenti, ‘falso’.
SetAuto()
Ristrutturare il contenitore allo stato “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
Operatore implicito LengthOrAuto(Length)
Realizza una conversione implicita da Aspose.Svg.Drawing.LongthOrAuto.La lunghezza a Asposa.
public static implicit operator LengthOrAuto(Length length)
Parameters
length
Length
Il valore .
Returns
Il risultato della conversione.