ImageGear for C and C++ on Windows v19.1 - Updated
IG_REC_output_format_info_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Output Functions > IG_REC_output_format_info_get

Gets information about the specified output document format converter.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_output_format_info_get(
   LPCSTR lpszFormatName,
   AT_REC_OUTPUT_CONVERTER_INFO* pInfo
);

Arguments:

Name Type Description
lpszFormatName LPCSTR The name of the output conversion format.
pInfo AT_REC_OUTPUT_CONVERTER_INFO* Pointer to the AT_REC_OUTPUT_CONVERTER_INFO structure to receive the output format info.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_REC_OUTPUT_CONVERTER_INFO Info;
memset(&Info, 0, sizeof(Info));
ErrCount += IG_REC_output_format_info_get("Windows ANSI", &Info);