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

Sets the output format for the IG_REC_document_write.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_output_format_set(
   LPCSTR lpszFormatName
);

Arguments:

Name Type Description
lpszFormatName LPCSTR Output format name.

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;
ErrCount = IG_REC_output_format_set("Converters.Text.XML");

Remarks:

All supported output formats can be enumerated using IG_REC_output_format_first_get, IG_REC_output_format_next_get.