Class XmpReal
Class XmpReal
名称: Aspose.Imaging.Xmp.Types.Basic 收藏: Aspose.Imaging.dll (25.4.0)
代表XMP Real。
[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpReal : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← XmpReal
Implements
继承人
XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
XmpReal(航海)
启动 Aspose.Imaging.Xmp.Types.Basic.XmpReal 类的新例子。
[JsonConstructor]
public XmpReal(float value)
Parameters
value
float
浮动价值。
XmpReal(线条)
启动 Aspose.Imaging.Xmp.Types.Basic.XmpReal 类的新例子。
public XmpReal(string value)
Parameters
value
string
它的价值。
Exceptions
值是零。
不合格的值,应该是浮动的。
Properties
Value
收到或设置浮动值。
[JsonProperty]
public float Value { get; set; }
财产价值
Methods
GetXmpRepresentation()
以 XMP 格式获取包含的字符串值。
public override string GetXmpRepresentation()
Returns
返回在 XMP 格式中包含的字符串值。