AUTOZONEOPTS2

typedef struct _tagAutoZoneOpts2 
{ 
   L_UINT uStructSize; 
   DOC2_PAGEPARSER Parser; 
   L_BOOL bEnableForceSingleColumn; 
   L_BOOL bDetectNonGridedTables; 
} AUTOZONEOPTS2, * pAUTOZONEOPTS2; 

The AUTOZONEOPTS2 structure provides information needed for automatic zone detection.

Members

uStructSize

Structure size. Set it to sizeof(AUTOZONEOPTS2).

Parser

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

bEnableForceSingleColumn

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.

bDetectNonGridedTables

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.

Comments

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help