L_Doc2UnlockPageExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2UnlockPageExt(hDoc, nDocId, nPageIndex)

Unlocks the specified locked page.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

L_INT nPageIndex

Zero-based index of the page to be unlocked.

Returns

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

Comments

Before updating a page's bitmap, be sure to lock it by calling the L_Doc2LockPage / L_Doc2LockPageExt function.

After finishing the update, be sure to unlock the page by calling L_Doc2UnlockPage / L_Doc2UnlockPageExt.

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