Aspose::Pdf::Metadata class

Metadata class

Provides access to XMP metadata stream.

class Metadata : public System::Collections::Generic::IDictionary<System::String, System::SharedPtr<Aspose::Pdf::XmpValue>>

Methods

MethodDescription
Add(const System::String&, const System::SharedPtr<XmpValue>&) overrideAdds value to metadata.
Add(const System::String&, const System::SharedPtr<System::Object>&)Adds value to metadata.
Add(const System::String&, const System::SharedPtr<XmpPdfAExtensionObject>&)Adds pdf extension to metadata.
Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) overrideAdds pair with key and value into the dictionary.
Clear() overrideClears metadata.
Contains(const System::String&) constChecks does key is contained in metadata.
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) overrideCopies elements of the collection into array.
get_Count() const overrideGets count of elements in the collection.
get_ExtensionFields()Gets the dictionary of extension fields.
get_IsFixedSize() constChecks if colleciton has fixed size.
get_IsReadOnly() const overrideChecks if collection is read-only.
get_IsSynchronized()Checks if collection is synchronized.
get_Keys() const overrideGets collection of metadata keys.
get_NamespaceManager()Gets namespace manager.
get_SyncRoot() constGets collection synchronization object.
get_Values() const overrideGets values in the metadata.
GetEnumerator() overrideReturns dictionary enumerator.
GetNamespaceUriByPrefix(System::String)Returns namespace URI by prefix.
GetPrefixByNamespaceUri(System::String)Returns prefix by namespace URI.
idx_get(const System::String&) const overrideGets data from metadata.
idx_set(const System::String&, System::SharedPtr<XmpValue>) overrideSets data from metadata.
RegisterNamespaceUri(System::String, System::String)Registers namespace URI.
RegisterNamespaceUri(System::String, System::String, System::String)Registers namespace URI.
Remove(const System::String&) overrideRemoves entry from metadata.
Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&) overrideRemoves key/value pair from the colleciton.
TryGetValue(const System::String&, System::SharedPtr<XmpValue>&) const overrideTries to find key in the dictionary and retreives value if found.

See Also