L_Doc2GetZoneOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetZoneOptions(hDoc, pZoneOpts, uStructSize)

Gets auto zone options of the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pAUTOZONEOPTS2 pZoneOpts

Pointer to AUTOZONEOPTS2 structure to be updated with auto zone options.

L_UINT uStructSize

Size in bytes, of the structure pointed to by pZoneOpts, use sizeof(AUTOZONEOPTS2) to calculate this value.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.