Obtain Format Information

The KeyView format detection module (kwad) detects a file's format, and reports the information to your application.

You can obtain format information from a document by using the fpGetDocInfo() function. This extracts the file format, file class, version, and document attributes, and populates an ADDOCINFO structure. This structure and values are defined in the header file adinfo.h.

For information about mapping detected formats to document readers, see File Formats and Document Readers.