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 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 File Formats and Document Readers.