#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2GetZoneOptionsExt(hDoc, nDocId, pZoneOpts, uStructSize)
Gets auto-zone options for the OCR document engine.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Pointer to AUTOZONEOPTS2 structure to be updated with auto zone options.
Size in bytes, of the structure pointed to by pZoneOpts. Use sizeof(AUTOZONEOPTS2) to calculate this value.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To activate automatic zone detection, call the L_Doc2FindZones / L_Doc2FindZonesExt function.
To update the current auto zone options, call the L_Doc2SetZoneOptionsExt / L_Doc2SetZoneOptions function.
Required DLLs and Libraries
For an example, refer to L_Doc2FindZonesExt.