KeyView 23.3

# fpGetMetadataList()

Gets the metadata from a document. You can use this function to access all available metadata including document properties, OLE summary information, and XMP metadata.

If the file is a container, you can access metadata for its subfiles by using the Extract API. See the function `fpGetSubFileMetadataList()`.

## Syntax

    KVErrorCode (pascal* fpGetMetadataList)(
        KVDocument pDocument,
        const KVMetadataList** const ppMetadataList);

## Arguments

`pDocument` | A `KVDocument` that you created with fpOpenDocumentFromFile() or fpOpenDocumentFromStream().
`ppMetadataList` | A pointer to a `const KVMetadataList` pointer. On success, this will contain the functions for accessing metadata elements, which must be freed with its `fpFree` function.

## Returns

The return value is an error code.

## Discussion

- You must free the `KVMetadataList` pointer using its `fpFree()` function.

Copyright 2016-2023 Open Text
Version 23.3 | Last updated June 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.3

Topic Title: fpGetMetadataList()