PdfXmpMetadata Class
Class for manipulation with XMP metadata.
Inheritance Hierarchy

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

The PdfXmpMetadata type exposes the following members.

Public methodCode examplePdfXmpMetadata
Constructor for PdfXmpMetadata.
Public methodPdfXmpMetadata(Document)
Initializes new PdfXmpMetadata object on base of the document.
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.
Public methodAdd(KeyValuePairString, XmpValue)
Adds pair with key and value into the dictionary.
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)
Checks does specified key-value pair is contained in the dictionary.
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
Copy metadata into array.
Public methodDispose
Disposes the facade.
(Inherited from Facade.)
Public methodEquals (Inherited from Object.)
Public methodGetEnumerator
Gets enumerator object of the dictionary.
Public methodGetHashCode (Inherited from Object.)
Public methodCode exampleGetNamespaceURIByPrefix
Gets namespace URI by prefix.
Public methodCode exampleGetPrefixByNamespaceURI
Gets the prefix by namespace URI.
Public methodGetType (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)
Removes key/value pair from the colleciton.
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 (Inherited from Object.)
Public methodTryGetValue
Tries to find key in the dictionary and retreives value if found.
See Also