getInfoFieldName

Get the name of a specified info field.
getInfoFieldName([in] int idx, [out, retval] BSTR *name)
This function returns the name of the idxth field in the info dictionary. It can be used with numInfoFields and getInfoString to scan through the all of the entries in the info dictionary.
VB6:
For i = 0 To pdf.numInfoFields - 1 name = pdf.getInfoFieldName(i) list.AddItem name & ": " & pdf.getInfoString(name) Next i
numInfoFields
getInfoString