XmpResourceRef class
Leave feedback
On this page
Represents a multiple-part reference to a resource.
Used to indicate prior versions, originals of renditions, originals for derived documents, and so on.
The XmpResourceRef type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the XmpResourceRef class. |
| Method | Description |
|---|---|
| get_xmp_representation | Converts the XMP value to its XML representation. |
| add_properties | Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. (inherited from MetadataPackage) |
| add_properties_func | (inherited from MetadataPackage) |
| contains | Returns True if the package contains a metadata property with the specified name; otherwise, False. (inherited from MetadataPackage) |
| contains_file | (inherited from MetadataPackage) |
| contains_string | (inherited from MetadataPackage) |
| find_properties | Finds metadata properties that satisfy the specified predicate, searching recursively through all nested packages. (inherited from MetadataPackage) |
| find_properties_func | (inherited from MetadataPackage) |
| get | (inherited from MetadataPackage) |
| get_enumerator | Returns an enumerator that iterates through the collection. (inherited from MetadataPackage) |
| get_file | (inherited from MetadataPackage) |
| get_namespace_uri | Retrieves the namespace URI associated with the specified prefix. (inherited from XmpComplexType) |
| get_namespace_uri_file | (inherited from XmpComplexType) |
| get_namespace_uri_string | (inherited from XmpComplexType) |
| get_string | (inherited from MetadataPackage) |
| remove_properties | Removes metadata properties satisfying the specified predicate. (inherited from MetadataPackage) |
| remove_properties_func | (inherited from MetadataPackage) |
| sanitize | Removes writable metadata properties from the package, recursively affecting all nested packages. (inherited from MetadataPackage) |
| set_properties | Sets known metadata properties satisfying the specified predicate. (inherited from MetadataPackage) |
| set_properties_func | (inherited from MetadataPackage) |
| to_string | Returns a str that represents this instance. (inherited from XmpComplexType) |
| update_properties | Updates known metadata properties that satisfy the specified predicate, recursively affecting all nested packages. (inherited from MetadataPackage) |
| update_properties_func | (inherited from MetadataPackage) |
| Property | Description |
|---|---|
| alternate_paths | The referenced resource’s fallback file paths or URLs. |
| document_id | The value of the xmpMM:DocumentID property from the referenced resource. |
| file_path | The referenced resource’s file path or URL. |
| instance_id | The value of the xmpMM:InstanceID property from the referenced resource. |
| last_modify_date | The value of stEvt:when for the last time the file was written. |
| manage_to | The referenced resource’s xmpMM:ManageTo. |
| manage_ui | The referenced resource’s xmpMM:ManageUI. |
| manager | The referenced resource’s xmpMM:Manager. |
| manager_variant | The referenced resource’s xmpMM:Manager. |
| part_mapping | The name or URI of a mapping function used to map the fromPart to the toPart. The default for time mappings is “linear”. |
| rendition_class | The value of the xmpMM:RenditionClass property from the referenced resource. |
| rendition_params | The value of the xmpMM:RenditionParams property from the referenced resource. |
| version_id | The value of the xmpMM:RenditionParams property from the referenced resource. |
| count | The number of metadata properties. (inherited from MetadataPackage) |
| keys | The collection of metadata property names. (inherited from MetadataPackage) |
| know_property_descriptors | The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage) |
| metadata_type | The metadata type of the package. (inherited from MetadataPackage) |
| namespace_uris | The namespace URIs used in the XmpComplexType instance. (inherited from XmpComplexType) |
| prefixes | The namespace prefixes used in the XmpComplexType instance. (inherited from XmpComplexType) |
| property_descriptors | The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage) |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.