L_DocSetCharLangsOptions
#include "ltdoc.h"
L_LTDOC_API L_INT L_DocSetCharLangsOptions(hDoc, pCharOpts)
L_HDOC hDoc; |
/* handle to the OCR document */ |
pCHAROPTIONS pCharOpts; |
/* pointer to a CHAROPTIONS structure */ |
Sets character options for the activated languages in the OCR document engine.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
pCharOpts |
Pointer to a CHAROPTIONS structure which contains the options to be set in the OCR document engine. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Sets character options for the current activated languages in the OCR document engine.
To activate your recognized languages, call L_DocSelectLanguages.
To get the character options for the current activated languages, call L_DocGetSelectedLanguages.
Required DLLs and Libraries
LTDOC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
L_DocSelectLanguages, L_DocGetSelectedLanguages, L_DocFreeLanguages, L_DocGetCharLangsOptions, L_DocIsCharEnabled, L_DocGetDefaultSpellLanguages |
Topics: |
|
|
Example
For an exmple, refer to L_DocSelectLanguages.