| LEADTOOLS OCR C DLL Help > Function References > OCR Plus > L_DocGetSpecialChar |
#include "ltdoc.h"
L_LTDOC_API L_INT 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 one or more pages, 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.