LEADTOOLS OCR C DLL Help > Function References > OCR Professional > L_Doc2GetZoneOptions |
#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetZoneOptions(hDoc, pZoneOpts, uStructSize)
L_HDOC2 hDoc; |
/* handle to the OCR document */ |
pAUTOZONEOPTS2 pZoneOpts; |
/* pointer to AUTOZONEOPTS2 */ |
L_UINT uStructSize; |
/* size of the structure */ |
Gets auto zone options for the OCR document engine.
Parameter |
Description |
hDoc |
Handle to the OCR document. |
pZoneOpts |
Pointer to AUTOZONEOPTS2 structure to be updated with auto zone options. |
uStructSize |
Size in bytes, of the structure pointed to by pZoneOpts, use sizeof(AUTOZONEOPTS2) to calculate this value. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Gets Auto zone options from the OCR document engine.
To activate automatic zone detection Call the L_Doc2FindZones function.
To update the current auto zone options, call the L_Doc2SetZoneOptions function.
Required DLLs and Libraries
LTDOC2 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_Doc2AddZone, L_Doc2GetZoneCount, L_Doc2GetZone, L_Doc2UpdateZone, L_Doc2RemoveZone, L_Doc2ImportZones, L_Doc2ExportZones, L_Doc2FindZones, L_Doc2SetZoneOptions |
Topics: |
|
|
Example
For an example, refer to L_Doc2FindZones.