# 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-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm