#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetZoneCount(hDoc, 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.
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_Doc2AddZone.