SetOCRLanguages

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.

SetOCRTextEditor(pDevMode As Long, pValue As String) As Boolean

 

Input value   - handle to the BlackIceDEVMODE structure

Input value   - the new list of language codes.

Return value            - TRUE on success, FALSE otherwise.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.