typedef struct _tagAutoZoneOpts2 
   L_UINT uStructSize; 
   L_BOOL bEnableForceSingleColumn; 
   L_BOOL bDetectNonGridedTables; 

The AUTOZONEOPTS2 structure provides information needed for automatic zone detection.



Structure size. Set it to sizeof(AUTOZONEOPTS2).


The Page parser algorithm to be used by the engine. For a list of possible values, refer to DOC2_PAGEPARSER.


Flag that indicates whether to force the page to be a single column. Possible values are:

Value Meaning
TRUE Force the page to be a single column.
FALSE Do not force the page to be a single column. This prevents the engine from detecting columns and placing their contents one below the other. It is useful for conserving the columnar structure in tables.


Flag that indicates whether to force the engine to run an algorithm to detect non-gridlined tables. Tables with visible gridlines in an original page can usually be detected successfully by the auto-zoning function. But tables without visible cell separators in the original page are harder to identify as tables. Possible values are:

Value Meaning
TRUE Detect non-gridlined table (This is the default value)
FALSE Do not detect non-gridlined table.


pAUTOZONEOPTS2 is a pointer to an AUTOZONEOPTS2 structure. If the function parameter type is pAUTOZONEOPTS2, declare a ZONEDATA2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pAUTOZONEOPTS2 variable is necessary only if the program requires a pointer.

The structure is used by:

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