Class XmpInteger
Namespace: Aspose.Imaging.Xmp.Types.Basic
Assembly: Aspose.Imaging.dll (25.2.0)
Represents XMP Integer basic type.
[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpInteger : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← XmpInteger
Implements
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
XmpInteger(long)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Basic.XmpInteger class.
public XmpInteger(long value)
Parameters
value
long
The value.
XmpInteger(int)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Basic.XmpInteger class.
public XmpInteger(int value)
Parameters
value
int
The value.
XmpInteger(string)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Basic.XmpInteger class.
public XmpInteger(string value)
Parameters
value
string
The value.
Exceptions
value is null.
Invalid string value;value
Properties
Value
Gets or sets the value.
[JsonProperty]
public long Value { get; set; }
Property Value
Methods
GetXmpRepresentation()
Gets the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
Returns the string contained value in XMP format.