LEADTOOLS OCR C DLL Help > Function References > OCR Plus > L_DocFreeRecognizedCharacters |
#include "ltdoc.h"
L_LTDOC_API L_INT L_DocFreeRecognizedCharacters(hDoc, ppRecogChars)
L_HDOC hDoc; |
/* handle to the OCR document */ |
pRECOGCHARS * ppRecogChars; |
/* Address of pointer to RECOGCHARS */ |
Frees the memory allocated by L_DocGetRecognizedCharacters.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
ppRecogChars |
Address of a pointer to the recognized characters to be freed. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Frees the memory associated with the recognized characters.
To get the recognized characters for a specific recognized page, call L_DocGetRecognizedCharacters.
To update the recognized characters, call L_DocSetRecognizedCharacters.
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_DocGetRecognizedCharacters.