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 on how to translate the extracted format information, see Translate Format Information.