Class XmpReal
Class XmpReal
Namn på plats: Aspose.Imaging.Xmp.Types.Basic Församling: Aspose.Imaging.dll (25.4.0)
Författare XMP Real.
[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpReal : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← XmpReal
Implements
Arvsmedlemmar
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(Flotta)
Initialiserar en ny instans av Aspose.Imaging.Xmp.Types.Basic.XmpReal klass.
[JsonConstructor]
public XmpReal(float value)
Parameters
value
float
Flott värde .
XmpReal(Sträng)
Initialiserar en ny instans av Aspose.Imaging.Xmp.Types.Basic.XmpReal klass.
public XmpReal(string value)
Parameters
value
string
och värdet .
Exceptions
Värdet är noll.
Invalid värde. bör vara flytande.
Properties
Value
Få eller sätta flödar värdet.
[JsonProperty]
public float Value { get; set; }
Fastighetsvärde
Methods
GetXmpRepresentation()
Få värdet i raden i XMP-format.
public override string GetXmpRepresentation()
Returns
Returnerar strängen innehållande värde i XMP-format.