LEADTOOLS OCR C DLL Help > Quick Reference > Data Types > OCR Plus > AUTOZONEOPTS |
typedef struct _tagAutoZoneOpts
{
L_UINT uStructSize;
PAGEPARSER Parser;
L_BOOL bEnableForceSingleColumn;
L_BOOL bVisibleGridLines;
} AUTOZONEOPTS, * pAUTOZONEOPTS;
The AUTOZONEOPTS structure provides information needed for automatic zone detection.
Member |
Description |
|
uStructSize |
Structure size. It should be equal to sizeof(AUTOZONEOPTS). |
|
Parser |
The Page parser algorithm to be used by the engine. For a list of possible values, refer to 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 |
bVisibleGridLines |
Flag that indicates whether to make the grid lines visible. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Make the grid lines visible. |
|
FALSE |
Make the grid lines invisible. |
Comments
pAUTOZONEOPTS is a pointer to a AUTOZONEOPTS structure. If the function parameter type is pAUTOZONEOPTS, declare a ZONEDATA variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pAUTOZONEOPTS variable is necessary only if the program requires a pointer.
This structure is used with following functions: