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

Gets the current output text format.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_output_text_format_get(
   enumIGRecDTxtOutputFormats* lpTextFormat
);

Arguments:

Name Type Description
lpTextFormat enumIGRecDTxtOutputFormats* Pointer to the enumIGRecDTxtOutputFormats variable to retrieve the current output text format.

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;
enumIGRecDTxtOutputFormats eTextFormat = IG_REC_DTXT_TXTS;
ErrCount += IG_REC_output_text_format_get(&eTextFormat);