Class Rational

Class Rational

名称: Aspose.Imaging.Xmp.Types.Derived アセンション: Aspose.Imaging.dll (25.4.0)

理性XMPを表す。

[JsonObject(MemberSerialization.OptIn)]
public class Rational : XmpTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase Rational

Implements

IXmpType , ICloneable

相続人

XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Rational(int、 int)

Aspose.Imaging.Xmp.Types.Derived.Rational クラスの新しい例を開始します。

[JsonConstructor]
public Rational(int numerator, int denominator)

Parameters

numerator int

ナンバー。

denominator int

いわゆる者。

Exceptions

ArgumentOutOfRangeException

ナンバー:ナンバーはゼロでなければなりません。または名称:名称:名称:名称:名称:名称:名称:名称:名称:名称:名称:名称:名称

Properties

Denominator

名称を取得または設定します。

[JsonProperty]
public int Denominator { get; set; }

不動産価値

int

FloatValue

フラット価値を得る。

public float FloatValue { get; }

不動産価値

float

Numerator

ナンバーを入れる。

[JsonProperty]
public int Numerator { get; }

不動産価値

int

Methods

GetXmpRepresentation()

XMP フォーマットで含まれる値を圧縮します。

public override string GetXmpRepresentation()

Returns

string

XMP フォーマットに含まれる値を返します。

 日本語