Class Dimensions
名称: Aspose.Imaging.Xmp.Types.Complex.Dimensions アセンション: Aspose.Imaging.dll (25.4.0)
引き出されたオブジェクトのサイズを含む。
[JsonObject(MemberSerialization.OptIn)]
public sealed class Dimensions : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Dimensions
Implements
相続人
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クラスの新しい例を開始します。
[JsonConstructor]
public Dimensions()
Dimensions(フロア、フロア)
Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensionsクラスの新しい例を開始します。
public Dimensions(float width, float height)
Parameters
width
float
広さ。
height
float
高さです。
Properties
Height
得るか、高さを設定するか。
public float Height { get; set; }
不動産価値
Exceptions
値:高さはゼロより低くはありません。
Units
ユニットを取得またはセットする。
[JsonProperty]
public string Units { get; set; }
不動産価値
Examples
例えば、インチ、mm、ピクセル、ピカ、ポイントなど。
Width
接続または幅を設定します。
public float Width { get; set; }
不動産価値
Exceptions
値; 幅はゼロより少ないことはできません。
Methods
GetXmpRepresentation()
ストレッチが含まれている値をXMP形式で取得します。
public override string GetXmpRepresentation()
Returns
XMP フォーマットに含まれる値を返します。