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

Specifies code page to be used during conversions by the functions IG_REC_util_codepage_to_unicode, IG_REC_util_unicode_to_codepage, IG_REC_document_write, IG_REC_output_direct_text_write. All supported code pages can be enumerated using IG_REC_output_codepage_first_get, IG_REC_output_codepage_next_get.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_output_codepage_set(
   LPCSTR pCodePageName
);

Arguments:

Name Type Description
pCodePageName LPCSTR Name of Code Page 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_codepage_set("Windows ANSI");