L_DocGetZoneOptions

#include "ltdoc.h"

L_INT EXT_FUNCTION L_DocGetZoneOptions(hDoc, pZoneOpts, uStructSize)

L_HDOC hDoc;

/* handle to the OCR document */

pAUTOZONEOPTS pZoneOpts;

/* pointer to AUTOZONEOPTS */

L_UINT uStructSize;

/* size of the structure */

Gets Auto zones options for the OCR document engine.

Parameter

Description

hDoc

Handle to the OCR document.

pZoneOpts

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

uStructSize

Specifies the size of the structure pointed to by pZoneOpts, use sizeof(AUTOZONEOPTS) to calculate this value.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Gets auto zones options from the OCR document engine.

Call L_DocFindZones to activate automatic zone detection.

To update the current auto zones options, call L_DocSetZoneOptions.

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_DocSetZoneOptions

Topics:

OCR Functions: Zones

 

Working with Zones

Example

For an example, refer to L_DocFindZones.