Class Dimensions
Nazwa przestrzeń: Aspose.Imaging.Xmp.Types.Complex.Dimensions Zgromadzenie: Aspose.Imaging.dll (25.4.0)
Zawiera wymiary dla wyciągniętego przedmiotu.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Dimensions : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Dimensions
Implements
Dziedziczeni członkowie
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()
Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Complex.Dimensions.
[JsonConstructor]
public Dimensions()
Dimensions(Floty, floty)
Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Complex.Dimensions.
public Dimensions(float width, float height)
Parameters
width
float
i szerokości .
height
float
i wysokość .
Properties
Height
Dostaje lub ustawia wysokość.
public float Height { get; set; }
Wartość nieruchomości
Exceptions
wartość; wysokość nie może być mniejsza niż zero
Units
Zostaw lub ustaw jednostki.
[JsonProperty]
public string Units { get; set; }
Wartość nieruchomości
Examples
Na przykład: cala, mm, piksela, pica, punkt itp.
Width
Dostęp lub ustaw szerokość.
public float Width { get; set; }
Wartość nieruchomości
Exceptions
Wartość; Wielkość nie może być mniejsza niż zero
Methods
GetXmpRepresentation()
Otrzymuje wartość zawartą w rzędzie w formacie XMP.
public override string GetXmpRepresentation()
Returns
Powraca wartość zawartość paska w formacie XMP.