L_Doc2SetZoneOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2SetZoneOptions(hDoc, pZoneOpts)

Sets Auto zone options for the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pAUTOZONEOPTS2 pZoneOpts

Pointer to an AUTOZONEOPTS2 structure, which contains options that will be used in L_Doc2FindZones function.

Returns

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

Comments

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

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

LEADTOOLS OCR Module - OmniPage Engine C API Help