L_Doc2ShutDown

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2ShutDown(phDoc)

Shuts down the OCR document engine and frees the allocated OCR document data.

Parameters

L_HDOC2 * phDoc

Pointer to an existing OCR document handle. This handle is obtained by calling the L_Doc2StartUp function.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The OCR document handle is allocated by call the L_Doc2StartUp function.

For each call to the L_Doc2StartUp function there must be a call to the L_Doc2ShutDown function. This function should be the last OCR function to be called in your application. It will clean up and free memory allocated during the OCR session and will close (shut down) the OCR document engine.

You can delete the setting collection before call this function, by call the L_Doc2DeleteSettingsCollection function.

Required DLLs and Libraries

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help