Class Dimensions

Class Dimensions

Název místa: Aspose.Imaging.Xmp.Types.Complex.Dimensions Shromáždění: Aspose.Imaging.dll (25.4.0)

Obsahuje rozměry pro natáčený objekt.

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

Inheritance

object XmpTypeBase ComplexTypeBase Dimensions

Implements

IXmpType , ICloneable

Dědiční č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()

Začíná nový příklad třídy Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions.

[JsonConstructor]
public Dimensions()

Dimensions(Plzeň, Plzeň)

Začíná nový příklad třídy Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions.

public Dimensions(float width, float height)

Parameters

width float

A šířka.

height float

na výšku.

Properties

Height

Dostane nebo nastaví výšku.

public float Height { get; set; }

Hodnota nemovitosti

float

Exceptions

ArgumentOutOfRangeException

hodnota; výška by neměla být menší než nula

Units

Obdržíte nebo nastavíte jednotky.

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

Hodnota nemovitosti

string

Examples

Například: palec, mm, pixel, pica, bod atd.

Width

Dostane nebo nastaví šířku.

public float Width { get; set; }

Hodnota nemovitosti

float

Exceptions

ArgumentOutOfRangeException

hodnota; šířka by neměla být menší než nula

Methods

GetXmpRepresentation()

Obdrží hodnotu obsaženou v řetězci ve formátu XMP.

public override string GetXmpRepresentation()

Returns

string

Vrátí obsahovanou hodnotu řetězce ve formátu XMP.

 Čeština