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.

Member Description
uStructSize Structure size. It should be equal 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 to force the engine to run algorithm to detect non gridlines table. Since 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 gridlines table (default is TRUE)
  FALSE Don't detect non gridlines table.

Comments

pAUTOZONEOPTS2 is a pointer to a AUTOZONEOPT2 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.

This structure is used with following functions:

L_Doc2SetZoneOptions

L_Doc2GetZoneOptions

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