L_OcrDocument_Destroy

Summary

Destroys the created L_OcrDocument handle.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrDocument_Destroy(document)

Parameters

L_OcrDocument document

Handle to the OCR document to destroy.

Returns

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

Comments

Destroys the created L_OcrDocument handle.

In memory-based documents destroying L_OcrDocument handle will free the document pages so you shouldn't call L_OcrPage_Destroy on the added pages since the OCR document owns them.

For information on how to create memory-based or file-based documents or how to load file-based documents from disk, refer to L_OcrDocumentManager_CreateDocument.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_OcrDocumentManager_CreateDocument

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

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.