getInfo
Get a document information dictionary entry from an input PDF file.
getInfo([in] LONG inputHandle, [in] BSTR key, [out, retval] BSTR *val)
This function retrieves a document information dictionary entry from
an input PDF file. The entry specified by
key
is
returned. If there is no info entry for key
, this
function returns an empty string.
Standard info dictionary keys include: Title, Author, Subject, Keywords, Creator, Producer, CreationDate, ModDate, and Trapped.
VB6:
Dim title As String
title = pdf.getInfo(in, "Title")
VB.net:
Dim title As String
title = pdf.getInfo(in, "Title")