L_OcrEngine_GetZoneManager (original) (raw)
Summary
Returns a handle to the OCR zones manager.
Syntax
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrEngine_GetZoneManager(engine, zoneManager)
Parameters
L_OcrEngine engine
Handle to the OCR engine.
L_OcrZoneManager* zoneManager
Pointer to L_OcrZoneManager handle to be updated.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
This function returns a handle to the OCR engine zones manager which provides support for determining the various zone properties.
The L_OcrZoneManager contains information about the following:
- The zone types supported by this engine. For example, "Text", "Graphics" or "Table". For more information, refer to L_OcrZoneType.
- The options used when detecting OMR (Optical Mark Recognition) zones. For more information, refer to L_OcrZoneManager_GetOMROptions.
Required DLLs and Libraries
- LTOCR
- 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_OcrEngineManager_CreateEngine
- L_OcrEngine_Startup
- L_OcrEngine_Shutdown
- L_OcrEngine_Destroy
- L_OcrEngine_GetEngineType
- L_OcrEngine_IsStarted
- L_OcrEngine_GetSettingManager
- L_OcrEngine_GetLanguageManager
- L_OcrEngine_GetSpellCheckManager
- L_OcrEngine_GetDocumentManager
- L_OcrEngine_GetAutoRecognizeManager
- L_OcrEngine_GetWorkDirectory
- L_OcrEngine_GetEngineDirectory
Topics
- Programming with LEADTOOLS OCR Module - LEAD Engine
- Starting and Shutting Down the OCR Engine
- LEADTOOLS OCR Module - LEAD Engine Settings
Example
For an example, refer to L_OcrZoneManager_GetOMROptions