#include “BlackIceDEVMODE.h”
BOOL SetOCRLanguages (BlackIceDEVMODE* pBlackIceDevMode, LPCTSTR pValue)
Description
Selects the languages used in the OCR. The list should be a string of language codes separated by ‘+’ characters. (E.g.: “eng+deu+fra+jpn”). On the printer driver user interface, it is only possible to select a single language at a time, but with the SetOCRLanguages function or the INI file, multiple languages can be selected. The list of available languages can vary depending on the language packs installed, and can be retrieved using the GetOCRSupportedLanguages function. See the following page for the list of possible language codes.
Parameters
BlackIceDEVMODE* pBlackIceDevMode - pointer to the BlackIceDEVMODE structure
LPCTSTR pValue - the new list of language codes.
Return value
TRUE on success, otherwise FALSE
Programming Notes
None
Code Example
None