Extract Format Information

You can extract format information from a document by using the fpGetStreamInfo() function. The fpGetStreamInfo() function extracts format information, such as file class, format, and version, and populates the ADDOCINFO structure. This structure is defined in the adinfo.h header file.

For information about mapping detected formats to document readers, see Determine a Document Reader.