Class Dimensions
De naam: Aspose.Imaging.Xmp.Types.Complex.Dimensions Verzameling: Aspose.Imaging.dll (25.4.0)
Inhoud van dimensies voor een getrokken object.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Dimensions : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Dimensions
Implements
Geëerbiede leden
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()
Initialiseert een nieuwe instantie van de Aspose.Imaging.Xmp.Types.Complex.Dimensions.
[JsonConstructor]
public Dimensions()
Dimensions(De vloot, de vloot)
Initialiseert een nieuwe instantie van de Aspose.Imaging.Xmp.Types.Complex.Dimensions.
public Dimensions(float width, float height)
Parameters
width
float
De breedte.
height
float
De hoogte.
Properties
Height
Geeft of zet de hoogte.
public float Height { get; set; }
Eigendomswaarde
Exceptions
waarde;hoogte kan niet minder dan nul zijn
Units
Gets of sets eenheden.
[JsonProperty]
public string Units { get; set; }
Eigendomswaarde
Examples
Bijvoorbeeld: inch, mm, pixel, pica, punt enz.
Width
Geeft of zet de breedte.
public float Width { get; set; }
Eigendomswaarde
Exceptions
waarde; breedte kan niet minder dan nul zijn
Methods
GetXmpRepresentation()
Geeft de string bevatte waarde in XMP-formaat.
public override string GetXmpRepresentation()
Returns
Terugkomt de waarde die de string bevat in XMP-formaat.