Class LengthOrAuto
İsim alanı : Aspose.Svg.Drawing Toplantı: Aspose.SVG.dll (25.5.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.Svg.Drawing.LengthOrAuto sınıfının yeni bir örneğini başlatır ve ‘auto’ya ayarlanır.
public LengthOrAuto()
LengthOrAuto(Length)
Aspose.Svg.Drawing.LengthOrAuto sınıfının yeni bir örneğini başlatır ve durumu ‘uzun’ olarak 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.Svg.Drawing.Unit için birim türünü alır.
public UnitType UnitType { get; }
Mülkiyet Değer
Methods
Equals(Unit)
Belirlenen Aspose.Svg.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.Svg.Drawing.Unit.
Returns
‘gerçek’ eğer belirtilen Aspose.Svg.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.Svg.Drawing.LengthOrAuto.Yükseklik ile Aspoze.Böyle bir dönüşüm gerçekleştirir.
public static implicit operator LengthOrAuto(Length length)
Parameters
length
Length
Değer için .
Returns
Bu dönüşümün sonucu.