Extract Format Information

You can extract format information from a document by using one of the getDocFormatInfo methods. These methods extract the major format, file class, version, and document attributes, and populate the DocFormatInfo class. They return the format information as a string. The format information that you can extract is listed in the header file adinfo.h.

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