#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2SetZoneOptionsExt(hDoc, nDocId, pZoneOpts)
Sets Auto zone options for the OCR document engine.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Pointer to an AUTOZONEOPTS2 structure containing options that will be used by the L_Doc2FindZonesExt function.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Sets the auto-zone options for the OCR document engine.
To get the current auto-zone options, call the L_Doc2GetZoneOptions / L_Doc2GetZoneOptionsExt function.
✎ NOTE
Be sure to call L_Doc2SetZoneOptions / L_Doc2SetZoneOptionsExt to set the auto-zone options before calling L_Doc2FindZones / L_Doc2FindZonesExt to find the zones.
Required DLLs and Libraries
For an example, refer to L_Doc2FindZonesExt.