L_DocSetZoneOptions

#include "ltdoc.h"

L_INT EXT_FUNCTION L_DocSetZoneOptions(hDoc, pZoneOpts)

L_HDOC hDoc;

/* handle to the OCR document */

pAUTOZONEOPTS pZoneOpts;

/* pointer to an AUTOZONEOPTS structure */

Sets Auto zones options for the OCR document engine.

Parameter

Description

hDoc

Handle to the OCR document.

pZoneOpts

Pointer to an AUTOZONEOPTS structure which contains options that will be used in L_DocFindZones.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Sets auto-zoning options in the OCR document engine.

Call L_DocFindZones after setting the auto-zoning options.

To get the current auto zones options, call L_DocGetZoneOptions.

Required DLLs and Libraries

LTDOC

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_DocAddZone, L_DocGetZoneCount, L_DocGetZone, L_DocUpdateZone, L_DocRemoveZone, L_DocImportZones, L_DocExportZones, L_DocFindZones, L_DocGetZoneOptions

Topics:

OCR Functions: Zones

 

Working with Zones

Example

For an example, refer to L_DocFindZones.