Class XmpInteger

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

objectXmpTypeBaseXmpInteger

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

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

ArgumentNullException

value is null.

ArgumentException

Invalid string value;value

Properties

Value

Gets or sets the value.

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

Property Value

long

Methods

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()

Returns

string

Returns the string contained value in XMP format.