# 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.

© Copyright 2006-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm