#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2FreeEngineFormats(hDoc, ppFormats)

Frees the engine formats array.


L_HDOC2 hDoc

Handle to the OCR document. This handle is obtained by calling the L_Doc2StartUp function.


Pointer to a DOC2_FORMATTYPE array that will be freed. This array is originally allocated using the L_Doc2GetSupportedEngineFormats function.


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


This function frees the associated memory for the ppFormats parameter, which was allocated by a previous call to the L_Doc2GetSupportedEngineFormats function, when the ppFormats array is no longer needed.

Required DLLs and Libraries

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

LEADTOOLS OCR Module - OmniPage Engine C API Help