L_Doc2SetZoneOptionsExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2SetZoneOptionsExt(hDoc, nDocId, pZoneOpts)

Sets Auto zone options for the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

pAUTOZONEOPTS2 pZoneOpts

Pointer to an AUTOZONEOPTS2 structure containing options that will be used by the L_Doc2FindZonesExt function.

Returns

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

Comments

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

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