Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

L_DocFreeRecognizedCharacters

Show in webframe

#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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.