# Extract Format Information

You can extract format information from a document by using either the `fpGetDocInfoStream()` or `fpGetDocInfoFile()` functions. If required, you can then report this information to the developer's application.

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.

_FT_HTML5_bannerTitle.htm