PdfXmpMetadata Class
Class for manipulation with XMP metadata.
Inheritance Hierarchy

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.10
Syntax
public sealed class PdfXmpMetadata : SaveableFacade, 
	IDictionary<string, XmpValue>, ICollection<KeyValuePair<string, XmpValue>>, 
	IEnumerable<KeyValuePair<string, XmpValue>>, IEnumerable

The PdfXmpMetadata type exposes the following members.

Constructors
  NameDescription
Public methodCode examplePdfXmpMetadata
Constructor for PdfXmpMetadata.
Public methodPdfXmpMetadata(Document)
Initializes new PdfXmpMetadata object on base of the document.
Properties
  NameDescription
Public propertyCode exampleCount
Gets count if items in the collection.
Public propertyDocument
Gets the document facade is working on.
(Inherited from Facade.)
Public propertyExtensionFields
Gets the dictionary of extension fields.
Public propertyIsFixedSize
Returns true is collection has fixed size.
Public propertyIsReadOnly
Returns true if collection is read-only.
Public propertyIsSynchronized
Returns true if collection is synchronized.
Public propertyCode exampleItemString
Gets or sets value by key.
Public propertyCode exampleItemDefaultMetadataProperties
Gets value of XMP metadata by key.
Public propertyKeys
Gets keys from the dictionary.
Public propertySyncRoot
Gets synchroniztion object of the collection.
Public propertyValues
Gets the collection of values in dictionary.
Methods
  NameDescription
Public methodAdd(KeyValuePairString, XmpValue)
Public methodCode exampleAdd(String, XmpValue)
Adds new element to the dictionary object.
Public methodAdd(String, Object)
Adds new element to the dictionary object.
Public methodCode exampleAdd(DefaultMetadataProperties, XmpValue)
Adds value to XMP metadata.
Public methodAdd(XmpPdfAExtensionObject, String, String, String)
Adds extension field into metadata.
Public methodBindPdf(Stream)
Initializes the facade.
(Inherited from Facade.)
Public methodBindPdf(String)
Initializes the facade.
(Inherited from Facade.)
Public methodBindPdf(Document)
Initializes the facade.
(Inherited from Facade.)
Public methodCode exampleClear
Removes all elements from the object.
Public methodClose
Disposes Aspose.Pdf.Document bound with a facade.
(Inherited from Facade.)
Public methodContains(KeyValuePairString, XmpValue)
Public methodCode exampleContains(String)
Checks if dictionary contains the specified key.
Public methodContains(DefaultMetadataProperties)
Checks if dictionary contains the specified property.
Public methodContainsKey
Determines does this dictionary contasins specified key.
Public methodCopyTo
Public methodDispose
Disposes the facade.
(Inherited from Facade.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Gets enumerator object of the dictionary.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodCode exampleGetNamespaceURIByPrefix
Gets namespace URI by prefix.
Public methodCode exampleGetPrefixByNamespaceURI
Gets the prefix by namespace URI.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodCode exampleGetXmpMetadata
Get the XmpMetadata of the input pdf in a xml format.
Public methodCode exampleGetXmpMetadata(String)
Get a part of the XmpMetadata of the input pdf according to a meta name.
Public methodCode exampleRegisterNamespaceURI
Registers the namespace URI.
Public methodRemove(KeyValuePairString, XmpValue)
Public methodCode exampleRemove(String)
Removes key from the dictionary.
Public methodCode exampleRemove(DefaultMetadataProperties)
Removes element with specified key.
Public methodSave(Stream)
Saves the PDF document to the specified stream.
(Inherited from SaveableFacade.)
Public methodSave(String)
Saves the PDF document to the specified file.
(Inherited from SaveableFacade.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Tries to find key in the dictionary and retreives value if found.
See Also