Class ComplexTypeBase

Class ComplexTypeBase

Namespace: Aspose.Imaging.Xmp.Types.Complex
Assembly: Aspose.Imaging.dll (25.2.0)

Represents base abstraction for XMP Complex value type.

[JsonObject(MemberSerialization.OptIn)]
public class ComplexTypeBase : XmpTypeBase, IXmpType, ICloneable

Inheritance

objectXmpTypeBaseComplexTypeBase

Derived

ColorantBase, Dimensions, Font, ResourceEvent, ResourceRef, Thumbnail, Version

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

Remarks

See more: XMP Specification Part 2, Chapter 1.2.2

Constructors

ComplexTypeBase(string, string)

Initializes a new instance of the Aspose.Imaging.Xmp.Types.Complex.ComplexTypeBase class.

public ComplexTypeBase(string prefix, string namespaceUri)

Parameters

prefix string

The prefix.

namespaceUri string

The namespace URI.

Exceptions

ArgumentNullException

prefix is null or namespaceUri is null

Fields

VValues

The values dictionary

[JsonProperty]
protected Dictionary<string, object=""> VValues

Field Value

Dictionary<string, object&gt;

Properties

NamespaceUri

Gets the default namespace URI.

public string NamespaceUri { get; }

Property Value

string

Prefix

Gets the prefix.

public string Prefix { get; }

Property Value

string

Methods

Add(string, object)

Adds the specified key.

protected void Add(string key, object value)

Parameters

key string

The string representation of key that is identified with added value.

value object

The value to add to.

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()

Returns

string

Returns the string contained value in XMP format. </string,>