Class XmpValue

Class XmpValue

Namespace: Aspose.Page.EPS.XMP
Assembly: Aspose.Page.dll (25.1.2)

Represents XMP value

public class XmpValue

Inheritance

objectXmpValue

Inherited Members

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

Constructors

XmpValue(string)

Constructor for string value.

public XmpValue(string value)

Parameters

value string

String value.

XmpValue(int)

Consructor for integer value.

public XmpValue(int value)

Parameters

value int

Integer value.

XmpValue(double)

Constructor for floating point Value.

public XmpValue(double value)

Parameters

value double

Double value.

XmpValue(DateTime)

Constructor for date time value.

public XmpValue(DateTime value)

Parameters

value DateTime

Date time value.

XmpValue(XmpValue[])

Constructor for array value.

public XmpValue(XmpValue[] array)

Parameters

array XmpValue[]

Array value.

Properties

IsArray

Returns true is XmpValue is array.

public bool IsArray { get; }

Property Value

bool

IsDateTime

Returns true if value is DateTime.

public bool IsDateTime { get; }

Property Value

bool

IsDouble

Returns true if value is floating point value.

public bool IsDouble { get; }

Property Value

bool

IsField

Returns true if XmpValue is field.

public bool IsField { get; }

Property Value

bool

IsInteger

Returns true if value is integer.

public bool IsInteger { get; }

Property Value

bool

IsNamedValue

Returns true if XmpValue is named value.

public bool IsNamedValue { get; }

Property Value

bool

IsNamedValues

Returns true is XmpValue represents named values.

public bool IsNamedValues { get; }

Property Value

bool

IsRaw

Value is unsupported/unknown and raw XML code is provided.

public bool IsRaw { get; }

Property Value

bool

IsString

Returns true if value is string.

public bool IsString { get; }

Property Value

bool

IsStructure

Returns true is XmpValue represents structure.

public bool IsStructure { get; }

Property Value

bool

Methods

ToArray()

Returns array.

public XmpValue[] ToArray()

Returns

XmpValue[]

Array value

ToDateTime()

Converts to date time.

public DateTime ToDateTime()

Returns

DateTime

DateTime value.

ToDictionary()

Returns dictionary which contains named values.

public Dictionary<string, xmpvalue=""> ToDictionary()

Returns

Dictionary<string, XmpValue&gt;

Dictionary value.

ToDouble()

Converts to double.

public double ToDouble()

Returns

double

Double value.

ToField()

Returns XMP value as XMP field.

public XmpField ToField()

Returns

XmpField

Field value.

ToInteger()

Converts to integer.

public int ToInteger()

Returns

int

Integer value.

ToNamedValue()

Returns XMP value as named value.

public KeyValuePair<string, xmpvalue=""> ToNamedValue()

Returns

KeyValuePair<string, XmpValue&gt;

Named value.

ToNamedValues()

Returns XMP value as named value collection.

public KeyValuePair<string, xmpvalue="">[] ToNamedValues()

Returns

KeyValuePair<string, XmpValue&gt;[]

Named collection value.

ToRaw()

Raw XML code for unknown/unsupported values.

public XmlNode ToRaw()

Returns

XmlNode

XML node for this value.

ToString()

Returns string representation of XmpValue.

public override string ToString()

Returns

string

String representation.

ToString(IFormatProvider)

Returns string representation.

public string ToString(IFormatProvider formatProvider)

Parameters

formatProvider IFormatProvider

Format provider.

Returns

string

String representation.

ToStringValue()

Converts to string.

public string ToStringValue()

Returns

string

String value.

ToStructure()

Returns XMP value as structure (set of fields).

public XmpField[] ToStructure()

Returns

XmpField[]

Structure value.

Operators

explicit operator XmpValue[](XmpValue)

Converts XmpValue to array.

public static explicit operator XmpValue[](XmpValue value)

Parameters

value XmpValue

Value to convert.

Returns

XmpValue[]

XmlValue.

explicit operator object[](XmpValue)

Converts XmpValue into array.

public static explicit operator object[](XmpValue value)

Parameters

value XmpValue

Value to convert.

Returns

object[]

XmlValue.

explicit operator string(XmpValue)

Converts XmpValue into string.

public static explicit operator string(XmpValue value)

Parameters

value XmpValue

Value to convert.

Returns

string

XmlValue.

explicit operator KeyValuePair<string, xmpvalue="">(XmpValue)

Converts XmpValue to named value.

public static explicit operator KeyValuePair<string, xmpvalue="">(XmpValue value)

Parameters

value XmpValue

Value to convert.

Returns

KeyValuePair<string, XmpValue&gt;

XmlValue.

explicit operator KeyValuePair<string, xmpvalue="">[](XmpValue)

Converts XmlValue to named collection value.

public static explicit operator KeyValuePair<string, xmpvalue="">[](XmpValue value)

Parameters

value XmpValue

Value to convert.

Returns

KeyValuePair<string, XmpValue&gt;[]

XmlValue.

implicit operator XmpValue(string)

Converts string to XmpValue.

public static implicit operator XmpValue(string value)

Parameters

value string

Value to convert.

Returns

XmpValue

XmlValue.

implicit operator XmpValue(int)

Converts integer into XmpValue.

public static implicit operator XmpValue(int value)

Parameters

value int

Value to convert.

Returns

XmpValue

XmlValue.

implicit operator XmpValue(double)

Converts double into XmpValue.

public static implicit operator XmpValue(double value)

Parameters

value double

Value to convert.

Returns

XmpValue

XmlValue.

implicit operator XmpValue(DateTime)

Converts DateTime into XmpValue.

public static implicit operator XmpValue(DateTime value)

Parameters

value DateTime

Value to convert.

Returns

XmpValue

XmlValue.

implicit operator XmpValue(object[])

Converts array to XmpValue.

public static implicit operator XmpValue(object[] value)

Parameters

value object[]

Value to convert.

Returns

XmpValue

XmlValue. </string,></string,></string,></string,></string,></string,></string,>

 English