HANDPRINTOPTIONS2

typedef struct _tagHandPrintOptions2 
{ 
   L_UINT uStructSize; 
   DOC2_HANDRECOG_STYLE style; 
   L_BOOL bSpace; 
   L_INT nCharHeight; 
   L_INT nCharWidth; 
   L_INT nCharSpace; 
} HANDPRINTOPTIONS2, * pHANDPRINTOPTIONS2; 

The HANDPRINTOPTIONS2 structure contains options for hand-printing recognition.

Members

uStructSize

Structure size. Set it to sizeof(HANDPRINTOPTIONS2).

style

Writing style setting for the Hand-printed Numerals Recognition module. For a list of possible options, refer to DOC2_HANDRECOG_STYLE.

bSpace

Flag that indicates whether the Hand-printed Numerals Recognition module should export spaces detected between characters. Possible values are:

Value Meaning
TRUE Export spaces detected between characters.
FALSE Do not export spaces detected between characters.

nCharHeight

Character height, in 1/1200ths of an inch. Use zero (0) to force the automatic calculation of this parameter. If this parameter is zero (0), the remaining fields are also considered 0.

nCharWidth

Character width, in 1/1200ths of an inch. Use zero (0) to force the automatic calculation of this parameter.

nCharSpace

Leading spaces, in 1/1200ths of an inch. Use zero (0) to force the automatic calculation of this parameter.

Comments

HANDPRINTOPTIONS2 is used only when the recognition module is DOC2_RECOGMODULE_HAND_PRINTED_NUMERAL.

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

The structure is used by:

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.