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
상속 회원들
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(이트, 이트)
Aspose.Imaging.Xmp.Types.Derived.Rational 클래스의 새로운 사례를 시작합니다.
[JsonConstructor]
public Rational(int numerator, int denominator)
Parameters
numerator
int
숫자에 대하여
denominator
int
명칭자에 대하여
Exceptions
숫자 : 숫자 : 숫자 : 숫자 : 숫자 : 숫자 : 숫자 : 0또는명칭 : 명칭은 0보다 더 크다.
Properties
Denominator
가져오거나 명칭을 설정합니다.
[JsonProperty]
public int Denominator { get; set; }
부동산 가치
FloatValue
플로트 가치를 얻습니다.
public float FloatValue { get; }
부동산 가치
Numerator
숫자를 얻으십시오.
[JsonProperty]
public int Numerator { get; }
부동산 가치
Methods
GetXmpRepresentation()
그것은 XMP 형식으로 포함 된 값을 주장합니다.
public override string GetXmpRepresentation()
Returns
XMP 형식으로 링에 포함된 값을 반환합니다.