Class XmpText

Class XmpText

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

Represents XMP Text basic type.

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

Inheritance

object XmpTypeBase XmpText

Derived

XmpAgentName , XmpLocale , XmpMimeType

Implements

IXmpType , ICloneable

Inherited Members

XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

XmpText(string)

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

public class XmpText
   {
       [JsonConstructor]
       public XmpText(string value)
       {
       }
   }

Parameters

value string

The value.

Properties

Value

Gets or sets the text value.

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

Property Value

string

Methods

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()
{
}
In this case, since the provided code is already properly indented and spaced according to standard C# conventions, no changes were made. However, if there were any inconsistencies in indentation or spacing, they would be corrected while maintaining the original functionality and avoiding other modifications as stated in the task description.

Returns

string

Returns the string contained value in XMP format.

 English