getInfoString

Get the content of a document info field.
getInfoString([in] BSTR field, [out, retval] BSTR *val)
This function retrieves the value of an info field.

The getInfoString function can be used to get non-standard info entries and also to get the "raw" string values for date-type entries.

This function throws an error if the requested entry doesn't exist in the info dictionary.

VB6:
s = viewer.getInfoString("Title"); MsgBox "title = " & s