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_DocFreeMemoryResults

Show in webframe

#include "ltdoc.h"

L_LTDOC_API L_INT L_DocFreeMemoryResults(hDoc, ppBuffer)

L_HDOC hDoc;

/* handle to the OCR document */

L_UCHAR ** ppBuffer;

/* buffer to be freed */

Frees the associated memory for the recognition results.

Parameter

Description

hDoc

Handle to the OCR document.

ppBuffer

Address of buffer that contains the recognition results that will be freed.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function must be called to free the memory allocated by a call to L_DocSaveResultsToMemory.

To save the recognition results to memory, call L_DocSaveResultsToMemory.

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_DocSetRecognitionResultOptions, L_DocGetRecognitionResultOptions, L_DocEnumOutputFileFormats, L_DocGetTextFormatInfo, L_DocSaveResultsToFile, L_DocSetSpecialChar, L_DocGetSpecialChar, L_DocGetRecognizedCharacters, L_DocSetRecognizedCharacters, L_DocFreeRecognizedCharacters, L_DocGetRecognizedWords, L_DocFreeRecognizedWords

Topics:

OCR Functions: Recognition

 

Recognizing Document Pages

Example

For an example, refer to L_DocSaveResultsToMemory.

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