Class Dimensions
İsim alanı : Aspose.Imaging.Xmp.Types.Complex.Dimensions Toplantı: Aspose.Imaging.dll (25.4.0)
Çekilmiş bir nesne için boyutları içerir.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Dimensions : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Dimensions
Implements
mirasçı üyeleri
ComplexTypeBase.GetXmpRepresentation() , ComplexTypeBase.Prefix , ComplexTypeBase.NamespaceUri , XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Dimensions()
Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions sınıfının yeni bir örneği başlatılır.
[JsonConstructor]
public Dimensions()
Dimensions(Yüzme , Yüzme)
Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions sınıfının yeni bir örneği başlatılır.
public Dimensions(float width, float height)
Parameters
width
float
Genişlik için.
height
float
Yükseklik için.
Properties
Height
Yükseliş yapar ya da yapar.
public float Height { get; set; }
Mülkiyet Değer
Exceptions
değer; yükseklik sıfırdan daha az olamaz
Units
Birimleri alır ya da ayarlar.
[JsonProperty]
public string Units { get; set; }
Mülkiyet Değer
Examples
Örneğin: inç, mm, piksel, pica, nokta vb.
Width
Genişliği alır veya ayarlar.
public float Width { get; set; }
Mülkiyet Değer
Exceptions
değer; Genişlik sıfırdan daha az olamaz
Methods
GetXmpRepresentation()
Çizgi içerdiği değeri XMP biçiminde alır.
public override string GetXmpRepresentation()
Returns
XMP biçiminde satılan değeri döndürür.