L_Doc2SetZoneOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2SetZoneOptions(hDoc, pZoneOpts)

L_HDOC2 hDoc;

/* handle to the OCR document */

pAUTOZONEOPTS2 pZoneOpts;

/* pointer to an AUTOZONEOPTS2 structure */

Sets Auto zone options for the OCR document engine.

Parameter

Description

hDoc

Handle to the OCR document.

pZoneOpts

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

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function will set options for automatically find zones.

Call the L_Doc2FindZones function after setting the auto zones.

To get the current auto zone options, call the L_Doc2GetZoneOptions function.

Required DLLs and Libraries

LTDOC2

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_Doc2AddZone, L_Doc2GetZoneCount, L_Doc2GetZone, L_Doc2UpdateZone, L_Doc2RemoveZone, L_Doc2ImportZones, L_Doc2ExportZones, L_Doc2FindZones, L_Doc2GetZoneOptions

Topics:

OCR Functions: Zones

 

Working with Zones

Example

For an example, refer to L_Doc2FindZones.