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.