Class LengthOrAuto
İsim alanı : Aspose.Html.Drawing Görüntüleme: Aspose.HTML.dll (25.4.0)
Depolama uzunluğu veya ‘otomatik’ birimleri için bir konteyner temsil eder..
[ComVisible(true)]
public class LengthOrAuto : Unit, IEquatable<unit>
Inheritance
object ← Unit ← LengthOrAuto
Implements
mirasçı üyeleri
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()
Aspose.Html.Drawing.LengthOrAuto sınıfının yeni bir örneğini başlatır ve ‘auto’ya ayarlanır.
public LengthOrAuto()
LengthOrAuto(Length)
Aspose.Html.Drawing.LengthOrAuto sınıfının yeni bir örneğini başlatır ve “Lenght” için bir durum ayarlar.
public LengthOrAuto(Length length)
Parameters
length
Length
Uzunluk için .
Properties
IsAuto
Bu durumun ‘Auto’da olup olmadığını gösteren bir değer alır.
public bool IsAuto { get; }
Mülkiyet Değer
Length
Uzunluğu alır veya ayarlar.
public Length Length { get; set; }
Mülkiyet Değer
UnitType
Aspose.Html.Drawing.Unit için birim türünü alır.
public UnitType UnitType { get; }
Mülkiyet Değer
Methods
Equals(Unit)
Belirlenen Aspose.Html.Drawing.Unit’in bu örnekle eşit olup olmadığını belirler.
public override bool Equals(Unit other)
Parameters
other
Unit
Bu örnekle karşılaştırmak için Aspose.Html.Drawing.Unit.
Returns
‘gerçek’ eğer belirtilen Aspose.Html.Drawing.Unit bu örneğe eşittir; aksi takdirde, ‘yanlış’.
SetAuto()
Konteyneri “Auto” olarak yeniden ayarlayın.
public void SetAuto()
ToString()
Bu istasyonu temsil eden bir System.String’i geri getirir.
public override string ToString()
Returns
Bu istasyonu temsil eden bir sistem.String.
Operators
Sürücüsüz operatör Uzun(Length)
Aspose.Html.Drawing.LengthOrAuto.Length’dan Aspose.Html.Drawing.LengthOrAuto’ya implicit bir dönüşüm yapar.
public static implicit operator LengthOrAuto(Length length)
Parameters
length
Length
Değer için .
Returns
Bu dönüşümün sonucu.