XmpValue

Vue de l’ensemble

‘XmpValue’ est une classe dans Aspose.PDF FOSS pour .NET.

Il représente une valeur de métadonnées XMP.

Cette classe fournit 18 méthodes pour travailler avec des objets XmpValue dans les programmes .NET. Les méthodologies disponibles comprennent: ‘ToArray’, ‘ToutTime’, ToDictionary', ‘ToMap’, 'toField', ’ToInteger', ‚ToNamedValues',‘ToRaw’, ‘TotString’, TostRange’, ’TomStructure’ et 1 méthode supplémentaire. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’Aspose.PDF FOSS pour le package .net. Propriétés: IsArry',IsDateTime,Idouble, Island`` ,Integre` Is Name, 4 et plus.

Propriétés

NameTypeAccessDescription
IsIntegerboolReadWhether the value is an integer.
IsDoubleboolReadWhether the value is a double.
IsDateTimeboolReadWhether the value is a DateTime.
IsStringboolReadWhether the value is a string (and not a number or date).
IsArrayboolReadWhether the value is an array of XmpValues.
IsFieldboolReadWhether the value is a single named field (an XmpField instance).
IsNamedValueboolReadWhether the value is a named-value pair (KeyValuePair<string, XmpValue>).
IsNamedValuesboolReadWhether the value is an array of named-value pairs.
IsRawboolReadWhether the value is a raw XML node.
IsStructureboolReadWhether the value is a struct (a Dictionary<string, XmpValue> or an XmpField[]).

méthodes

SignatureDescription
XmpValue(value: int)Create an XmpValue from an integer.
XmpValue(value: double)Create an XmpValue from a double.
XmpValue(value: DateTime)Create an XmpValue from a DateTime.
XmpValue(value: string)Create an XmpValue from a string.
XmpValue(array: XmpValue[])Create an XmpValue from an array of XmpValues.
ToInteger()Convert to integer.
ToDouble()Convert to double.
ToDateTime()Convert to DateTime.
ToArray()Convert to XmpValue[].
ToDictionary()Convert to Dictionary<string, XmpValue>.
ToField()Convert to a single XmpField.
ToNamedValue()Convert to a single named-value pair.
ToNamedValues()Convert to an array of named-value pairs.
ToRaw()Get the underlying raw XmlNode, or null when the value isn’t IsRaw.
ToStructure()Convert to an XmpField[] (a struct, in XMP terms).
ToStringValue()Convert to string representation suitable for XMP serialization.
ToString()Calls ToString on this XmpValue instance.
ToString(formatProvider: IFormatProvider)Format with a culture-specific provider.

Voir aussi

  • Aspose.PDF pour .NET — API d’entreprise
 Français