Extract Format Information
You can extract format information from a document by using either the fpGetDocInfoStream()
or fpGetDocInfoFile()
functions.
The fpGetDocInfoStream()
and fpGetDocInfoFile()
functions extract the major format, file class, version, and document attributes, and populate the ADDOCINFO structure. This structure and values are defined in the header file adinfo.h
. See Filter API Functions for more information.
For information about mapping detected formats to document readers, see Determine a Document Reader.