L_DocGetSpecialChar
#include "ltdoc.h"
L_INT EXT_FUNCTION L_DocGetSpecialChar(hDoc, pSpecialChar, uStructSize)
L_HDOC hDoc; |
/* handle to the OCR document */ |
pSPECIALCHAR pSpecialChar; |
/* pointer to a SPECIALCHAR structure */ |
L_UINT uStructSize; |
/* size of the structure */ |
Gets the current used special characters.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
pSpecialChar |
Pointer to a SPECIALCHAR structure to be updated. |
uStructSize |
Specifies the size of the structure pointed to by pSpecialChar, use sizeof(SPECIALCHAR) to calculate this value. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Gets the current special characters used in the last recognition process or save results process.
To update the special characters, call L_DocSetSpecialChar.
To recognize a page(s), call L_DocRecognize.
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
Example
For an example, refer to L_DocSetSpecialChar.