IMetadataAccess

public interface IMetadataAccess

Defines methods that are required for access to metadata of a document, if format supports it.


Learn more

Methods

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.

getMetadata()

public abstract MetadataCollection getMetadata()

Retrieves a dictionary with document’s metadata.

Returns: MetadataCollection - Plain dictionary with metadata

changeMetadata(MetadataItem metadataItem)

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