# Extract Format Information

You can extract format information from a document by using the `getAutoDetectInfo()` method. This method extracts the major format, file class, version, and document attributes, and populates the `AutoDetectInfo` class. It returns the same format information as the `fpGetStreamInfo()` function, but as a string not an integer. The format information that can be extracted is listed in the `adinfo.h` header file.

For information on how to translate the extracted format information, see Translate Format Information.

_FT_HTML5_bannerTitle.htm