IMetadataAccess
Leave feedback
On this page
public interface IMetadataAccess
Defines methods that are required for access to metadata of a document, if format supports it.
Learn more
- More details about applying redactions: Redaction basics
- More details about document metadata redactions: Metadata redactions
- More details about implementing custom formats: Create custom format handler
| Method | Description |
|---|---|
| getMetadata() | Retrieves a dictionary with document’s metadata. |
| changeMetadata(MetadataItem metadataItem) | Changes the specified item of metadata from or adds a new one, if not present. |
public abstract MetadataCollection getMetadata()
Retrieves a dictionary with document’s metadata.
Returns: MetadataCollection - Plain dictionary with metadata
public abstract RedactionResult changeMetadata(MetadataItem metadataItem)
Changes the specified item of metadata from or adds a new one, if not present.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| metadataItem | MetadataItem | Metadata item with a new value assigned to it |
Returns: RedactionResult - Metadata redaction result
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.