XmpField

Vue de l’ensemble

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

Un champ nommé XMP — un couple (prefix, nom local) plus une valeur typée.

Cette classe fournit 6 méthodes pour travailler avec des objets XmpField dans les programmes .NET. Les méthodologies disponibles comprennent: ‘Equals’, ‘GetHashCode’, ToArray', ‘ToStructure’, 'XmpFeld'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation de la FOSS Aspose.PDF pour le package .net. Propriétés : 'Empty', ’FielType', ‚Is Emptys', ''Lang, ‘LocalName’, ‘’Nome‘ et 3 autres.

Propriétés

NameTypeAccessDescription
Prefixstring?Read/WriteThe XML prefix (e.g.
LocalNamestring?Read/WriteThe XML local name (e.g.
NamespaceUristring?Read/WriteThe XML namespace URI bound to Prefix.
NamestringReadCombined name in “prefix:localName” form (or just the local name when no prefix is set).
FieldTypeXmpFieldTypeReadField category.
ValueXmpValue?ReadThe field value, or null when this is an empty placeholder.
EmptyXmpFieldReadSingleton empty field.
IsEmptyboolReadTrue when the field carries no value.
LangXmpField?ReadThe xml:lang qualifier attached to this field (or null when none).

méthodes

SignatureDescription
XmpField()Default-construct an empty field.
XmpField(prefix: string?, localName: string?, namespaceUri: string?, value: XmpValue?, type: XmpFieldType)Construct a fully-populated field.
ToArray()Unwrap the field’s value as an array, or empty when the value isn’t array-typed.
ToStructure()Unwrap the field’s value as a struct (named-field array), or empty when the value isn’t struct-typed.
Equals(obj: object?)Calls Equals on this XmpField instance.
GetHashCode()Calls GetHashCode on this XmpField instance.

Voir aussi

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