#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2SetZoneOptions(hDoc, pZoneOpts)
Sets Auto zone options for the OCR document engine.
Handle to the OCR document.
Pointer to an AUTOZONEOPTS2 structure, which contains options that will be used in L_Doc2FindZones function.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function will set options for automatically find zones.
✅ IMPORTANT
Call the L_Doc2FindZones / L_Doc2FindZonesExt function after setting the auto zones.
To get the current auto zone options, call the L_Doc2GetZoneOptions / L_Doc2GetZoneOptionsExt function.
Required DLLs and Libraries
For an example, refer to L_Doc2FindZones.