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.

© Copyright 2006-2019 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 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