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

Sets the current output text format.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_output_text_format_set(
   enumIGRecDTxtOutputFormats nTextFormat
);

Arguments:

Name Type Description
nTextFormat enumIGRecDTxtOutputFormats Text format to be set.

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_text_format_set(IG_REC_DTXT_TXTF);