Open topic with navigation

# Extract File Format Information

Export can detect a file’s format, and report the information to the API, which in turn reports the information to the developer’s application. This feature enables you to apply customized conversion settings based on a file’s format. See File Format Detection for more information on format detection.

## Use the C API

To extract file format information by using the C API

1. Declare a pointer to the `KVStreamInfo` data structure. KVStreamInfo.

2. Call the `fpGetStreamInfo()` function. fpGetStreamInfo().

## Use the COM interface

To extract file format information by using the COM interface, call the `GetFileInfo()` method. See GetFileInfo.

© 2006-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm