XmpMetadata class

XmpMetadata class

Provides access to XMP metadata stream.

The XmpMetadata type exposes the following members:

Properties

PropertyDescription
is_fixed_sizeChecks if colleciton has fixed size.
is_read_onlyChecks if collection is read-only.
keysGets collection of metadata keys.
valuesGets values in the metadata.
countGets count of elements in the collection.
is_synchronizedChecks if collection is synchronized.
sync_rootGets collection synchronization object.

Methods

MethodDescription
register_namespace_uriRegisters namespace URI.
register_namespace_uriRegisters namespace URI.
addAdds value to metadata.
addAdds value to metadata.
add_array_itemAdds value into an array. The value will be added at the end of the array.
add_array_itemAdds value into an array by specified index.
get_namespace_uri_by_prefixReturns namespace URI by prefix.
get_prefix_by_namespace_uriReturns prefix by namespace URI.
clearClears metadata.
containsChecks does key is contained in metadata.
removeRemoves entry from metadata.
get_valueGets data from metadata.
set_valueSets data to metadata.
contains_keyDetermines does this dictionary contasins specified key.
try_get_valueTries to find key in the dictionary and retreives value if found.
set_array_itemSets value in an array. Previous value will be replaced with new one.
add_named_valueAdds named value into a structure.
set_named_valueSets named value into a structure. Previous named value, if already exists, will be replaced with new one.

See Also