To extract document metadata
Open the document whose metadata you want to extract. See Open for more information.
Set nItem
to 0
(zero).
Use the GetSummaryInfo method to get the total number of summary information items available in the document (parameter nTotalItem
).
Set nItem
to a number between zero and nTotalItem
(0<= nItem < nTotalItem
).
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.