L_Doc2GetZoneOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetZoneOptions(hDoc, pZoneOpts, uStructSize)

L_HDOC2 hDoc;

handle to the OCR document

pAUTOZONEOPTS2 pZoneOpts;

pointer to AUTOZONEOPTS2

L_UINT uStructSize;

size of the structure

Gets auto zone options for the OCR document engine.

Parameter

Description

hDoc

Handle to the OCR document.

pZoneOpts

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

uStructSize

Size in bytes, of the structure pointed to by pZoneOpts, use sizeof(AUTOZONEOPTS2) to calculate this value.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Gets Auto zone options from the OCR document engine.

To activate automatic zone detection Call the L_Doc2FindZones function.

To update the current auto zone options, call the L_Doc2SetZoneOptions 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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help