Class XmpReal

Class XmpReal

Namespace: Aspose.Imaging.Xmp.Types.Basic
Assembly: Aspose.Imaging.dll (25.7.0)

Represents XMP Real.

[JsonObject(MemberSerialization.OptIn)]
   public sealed class XmpReal : XmpTypeBase, IXmpType, ICloneable
   {
   }

Inheritance

object XmpTypeBase XmpReal

Implements

IXmpType , ICloneable

Inherited Members

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(float)

Initializes a new instance of the Aspose.Imaging.Xmp.Types.Basic.XmpReal class.

public class XmpReal
   {
       [JsonConstructor]
       public XmpReal(float value)
       {
       }
   }

Parameters

value float

Float value.

XmpReal(string)

Initializes a new instance of the Aspose.Imaging.Xmp.Types.Basic.XmpReal class.

public XmpReal(string value)
   {
   }

Parameters

value string

The value.

Exceptions

ArgumentNullException

value is null.

ArgumentException

Invalid value. Should be float.

Properties

Value

Gets or sets float the value.

[JsonProperty]
   public float Value
   {
      get;
      set;
   }

Property Value

float

Methods

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()
{
}

Returns

string

Returns the string contained value in XMP format.

 English