Extract Document Metadata
To extract document metadata
-
Open the document whose metadata you want to extract. See Open for more information.
-
Set
nItem
to0
(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 andnTotalItem
(0<= nItem < nTotalItem
). -
Use the
GetSummaryInfo
method again to get the specific information for thenItem
item. After the call, the other parameters (such asnValid
,nType
,lVal
,szVal
, andszUserVal
) hold the values for the summary information item.