Class Dimensions

Class Dimensions

Pôvodný názov: Aspose.Imaging.Xmp.Types.Complex.Dimensions Zhromaždenie: Aspose.Imaging.dll (25.4.0)

Obsahuje rozmery pre natiahnutý objekt.

[JsonObject(MemberSerialization.OptIn)]
public sealed class Dimensions : ComplexTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase ComplexTypeBase Dimensions

Implements

IXmpType , ICloneable

Z dedičných členov

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()

Initalizuje novú inštanciu triedy Aspose.Imaging.Xmp.Types.Complex.Dimensions.

[JsonConstructor]
public Dimensions()

Dimensions(Pláž, Pláž)

Initalizuje novú inštanciu triedy Aspose.Imaging.Xmp.Types.Complex.Dimensions.

public Dimensions(float width, float height)

Parameters

width float

Na šírku .

height float

na výšku .

Properties

Height

Získať alebo nastaviť výšku.

public float Height { get; set; }

Hodnota nehnuteľnosti

float

Exceptions

ArgumentOutOfRangeException

hodnota; výška by nemala byť nižšia ako nula

Units

Získajte alebo nastavíte jednotky.

[JsonProperty]
public string Units { get; set; }

Hodnota nehnuteľnosti

string

Examples

Napríklad: palec, mm, pixel, pica, bod atď.

Width

Získať alebo nastaviť šírku.

public float Width { get; set; }

Hodnota nehnuteľnosti

float

Exceptions

ArgumentOutOfRangeException

hodnota;Výška by nemala byť nižšia ako nula

Methods

GetXmpRepresentation()

Získa hodnotu pruhov obsiahnutých vo formáte XMP.

public override string GetXmpRepresentation()

Returns

string

Vráti obsahovanú hodnotu reťazca vo formáte XMP.

 Slovenčina