File Content Extraction 25.1
Viewing SDK Programming Guide

# Extract Document Metadata

To extract document metadata

1. Open the document whose metadata you want to extract. See Open for more information.

2. Set `nItem` to `0` (zero).

3. Use the GetSummaryInfo method to get the total number of summary information items available in the document (parameter `nTotalItem`).

4. Set `nItem` to a number between zero and `nTotalItem` (`0<= nItem < nTotalItem`).

5. Use the `GetSummaryInfo` method again to get the specific information for the `nItem` item. After the call, the other parameters (such as `nValid`, `nType`, `lVal`, `szVal`, and `szUserVal`) hold the values for the summary information item.

Copyright 2016-2024 Open Text
Version 25.1 | Last updated January 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.1

Topic Title: Extract Document Metadata