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

Functions:

L_DocGetStatus, L_DocRecognize, L_DocSaveResultsToMemory, L_DocFreeMemoryResults, L_DocSetRecognitionResultOptions, L_DocGetRecognitionResultOptions, L_DocEnumOutputFileFormats, L_DocGetTextFormatInfo, L_DocSaveResultsToFile, L_DocSetSpecialChar, L_DocGetSpecialChar, L_DocGetRecognizedCharacters, L_DocSetRecognizedCharacters, L_DocGetRecognizedWords, L_DocFreeRecognizedWords

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

Example

For an example, refer to L_DocGetRecognizedCharacters.