L_OcrPage_GetZoneCount
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_GetZoneCount(page, value)
L_OcrPage page; |
handle to the OCR page |
L_UINT* value; |
address to L_UINT variable to be updated with the page zones count |
Gets the number of zones inside the page.
page |
Handle to the OCR page. |
value |
Address to L_UINT variable to be updated with the page zones count. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Gets the number of zones inside the page.
Required DLLs and Libraries
See Also
Functions: |
L_OcrPage_Destroy, L_OcrPage_FromBitmap, L_OcrPage_GetBitmap, L_OcrPage_SetBitmap, L_OcrPage_GetOverlayBitmap, L_OcrPage_SetOverlayBitmap, L_OcrPage_SetBitmapChangedCallback, L_OcrPage_IsInverted, L_OcrPage_GetRotateAngle, L_OcrPage_GetDeskewAngle, L_OcrPage_AutoPreprocess, L_OcrPage_AutoZone, L_OcrPage_InsertZone, L_OcrPage_AddZone, L_OcrPage_IndexOfZone, L_OcrPage_GetZoneAt, L_OcrPage_SetZoneAt, L_OcrPage_RemoveZone, L_OcrPage_RemoveZoneAt, L_OcrPage_ClearZones, L_OcrPage_GetZoneCells, L_OcrPage_SetZoneCells, L_OcrPage_HitTestZone, L_OcrPage_IsRecognized, L_OcrPage_Recognize, L_OcrPage_Unrecognize, L_OcrPage_GetRecognizeStatistics, L_OcrPage_GetRecognizedCharacters, L_OcrPage_SetRecognizedCharacters, L_OcrPage_FreePageCharacters, L_OcrPage_GetZoneWords, L_OcrPage_FreeWords, L_OcrPage_GetText, L_OcrPage_ExtractZoneMICRData, L_OcrPage_DetectLanguages, L_OcrPage_LoadZonesFile, L_OcrPage_SaveZonesFile, L_OcrPage_SaveXml, L_OcrPage_GetAutoPreprocessValues |
Topics: |
Programming with LEADTOOLS OCR Advantage |
|
Starting and Shutting Down the OCR Engine |
|
Recognizing OCR Pages |
|
Working With OCR Pages |
Example
For an example, refer to L_OcrPage_AutoZone.