Aspose::Pdf::Facades::PdfXmpMetadata class

PdfXmpMetadata class

Class for manipulation with XMP metadata.

class PdfXmpMetadata : public Aspose::Pdf::Facades::SaveableFacade,
                       public System::Collections::Generic::IDictionary<System::String, System::SharedPtr<Aspose::Pdf::XmpValue>>

Methods

MethodDescription
Add(const DefaultMetadataProperties&, const System::SharedPtr<XmpValue>&)Adds value to XMP metadata.
Add(System::SharedPtr<XmpPdfAExtensionObject>, System::String, System::String, System::String)Adds extension field into metadata.
Add(const System::String&, const System::SharedPtr<XmpValue>&) overrideAdds new element to the dictionary object.
Add(const System::String&, const System::SharedPtr<System::Object>&)Adds new element to the dictionary object.
Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) overrideAdds pair with key and value into the dictionary.
Clear() overrideRemoves all elements from the object.
Contains(const System::String&) constChecks if dictionary contains the specified key.
Contains(const DefaultMetadataProperties&) constChecks if dictionary contains the specified property.
Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) const overrideChecks does specified key-value pair is contained in the dictionary.
ContainsKey(const System::String&) const overrideDetermines does this dictionary contasins specified key.
CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>>, int32_t) overrideCopy metadata into array.
get_Count() const overrideGets count if items in the collection.
get_ExtensionFields()Gets the dictionary of extension fields.
get_IsFixedSize() constReturns true is collection has fixed size.
get_IsReadOnly() const overrideReturns true if collection is read-only.
get_IsSynchronized()Returns true if collection is synchronized.
GetEnumerator() overrideGets enumerator object of the dictionary.
GetNamespaceURIByPrefix(System::String)Gets namespace URI by prefix.
GetPrefixByNamespaceURI(System::String)Gets the prefix by namespace URI.
GetXmpMetadata()Get the XmpMetadata of the input pdf in a xml format.
GetXmpMetadata(System::String)Get a part of the XmpMetadata of the input pdf according to a meta name.
idx_get(const System::String&) const overrideGets value by key.
idx_get(const DefaultMetadataProperties&) constGets value of XMP metadata by key.
idx_set(const System::String&, System::SharedPtr<XmpValue>) overrideSets value by key.
idx_set(const DefaultMetadataProperties&, System::SharedPtr<XmpValue>)Gets value of XMP metadata by key.
PdfXmpMetadata()Constructor for PdfXmpMetadata.
PdfXmpMetadata(System::SharedPtr<Aspose::Pdf::Document>)Initializes new PdfXmpMetadata object on base of the document .
RegisterNamespaceURI(System::String, System::String)Registers the namespace URI.
Remove(DefaultMetadataProperties)Removes element with specified key.
Remove(const System::String&) overrideRemoves key from the dictionary.
Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) overrideRemoves key/value pair from the collection.
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
TryGetValue(const System::String&, System::SharedPtr<XmpValue>&) const overrideTries to find key in the dictionary and retreives value if found.

See Also