#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2GetZoneCountExt(hDoc, nDocId, nPageIndex, pnCount)
Gets the number of zones in both the OCR zones list and the user zones list for the specified page.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Index of the page for which to get the number of zones.
Address of the variable to be updated with total number of zones in the specified page.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
For an example, refer to L_Doc2AddZoneExt.