The OCR engine supports many different languages for recognizing text. For a language to be used in the recognition process it must be set as active.
For more information, refer to:
Punctuation and Miscellaneous Characters
OCR Plus
To activate the languages that will be used in the next recognition process, call L_DocSelectLanguages. In addition, special character options can also be set for characters in the active languages using L_DocSetCharLangsOptions. For more information on these character options, refer to the CHAROPTIONS structure.
To determine what languages are currently installed into your OCR engine directory that you can activate and work with, call L_Doc2GetSupportedLanguages. To determine what languages have been activated for the OCR engine, call L_DocGetSelectedLanguages. To determine what special character options have been set use L_DocGetCharLangsOptions. To determine whether a specific character is enabled in the active languages, call L_DocIsCharEnabled.
L_DocGetDefaultSpellLanguages gets the default languages used for checking spelling. All available spelling languages available to the OCR engine are default and are used for checking spelling.
When the active languages are no longer needed, free the pointer to the selected languages by calling L_DocFreeLanguages.
OCR Professional
The OCR engine supports many different languages for recognizing text. To get a list of the currently installed languages into your OCR engine directory, call L_Doc2GetSupportedLanguages. To get each language ID friendly name, call L_Doc2GetLanguageFriendlyName. For a language to be used in the recognition process it must be set as active. To activate the languages that will be used in the next recognition process, call L_Doc2SelectLanguages. In addition, special character options can also be set for characters in the active languages using L_Doc2SetCharLangsOptions. For more information on these character options, refer to the CHAROPTIONS2 structure. To determine what languages have been activated for the OCR engine, call L_Doc2GetSelectedLanguages. To determine which special character options have been set use L_Doc2GetCharLangsOptions.
L_Doc2GetDefaultSpellLanguages gets the default languages used for checking spelling. All available spelling languages available to the OCR engine are default and are used for checking spelling.
When the active languages are no longer needed, free the pointer to the selected languages by calling L_Doc2FreeLanguages.
When the list of the enumerated supported languages retrieved by calling L_Doc2GetSupportedLanguages is no longer needed, free the pointer to the supported languages by calling L_Doc2FreeLanguages.