L_DocLockPage
#include "ltdoc.h"
L_LTDOC_API L_INT L_DocLockPage(hDoc, nPageIndex)
L_HDOC hDoc; |
/* handle to the OCR document */ |
L_INT nPageIndex; |
/* page index */ |
Locks a specific page.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
nPageIndex |
Specifies the index of the page to be locked. This index is zero-based. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Locks the specified page so you can update its bitmap using L_DocUpdatePage function.
After updating the pages bitmap, you should unlock the page by calling L_DocUnlockPage.
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_DocUnlockPage, L_DocSetActivePage, L_DocDrawPage, L_DocSelectZoneByPoint, L_DocSelectZone, L_DocRemoveSelectedZone, L_DocSetZonePen, L_DocSetSelectedZonePen, L_DocGetSelectedZone, L_DocZone, L_DocUpdatePage, L_DocCleanupPages |
Topics: |
|
|
Working with Pages |
Example
For an example, refer to L_DocUpdatePage.