L_DocUnlockPage

#include "ltdoc.h"

L_INT EXT_FUNCTION L_DocUnlockPage(hDoc, nPageIndex)

L_HDOC hDoc;

/* handle to the OCR document */

L_INT nPageIndex;

/* page index */

Unlocks the specified locked page.

Parameter

Description

hDoc

Handle to the OCR document.

nPageIndex

Specifies the index of the page to be unlocked. This index is zero-based.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Unlocks the specified locked page.

Before updating the page’s bitmap, you must lock it by calling L_DocLockPage.

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_DocLockPage, L_DocSetActivePage, L_DocDrawPage, L_DocSelectZoneByPoint, L_DocSelectZone, L_DocRemoveSelectedZone, L_DocSetZonePen, L_DocSetSelectedZonePen, L_DocGetSelectedZone, L_DocZone, L_DocUpdatePage, L_DocCleanUpPages

Topics:

OCR Functions: Pages

 

Working with Pages

Example

For an example, refer to L_DocUpdatePage.