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.
Structure size. Set it to sizeof(HANDPRINTOPTIONS2).
Writing style setting for the Hand-printed Numerals Recognition module. For a list of possible options, refer to DOC2_HANDRECOG_STYLE.
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. |
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.
Character width, in 1/1200ths of an inch. Use zero (0) to force the automatic calculation of this parameter.
Leading spaces, in 1/1200ths of an inch. Use zero (0) to force the automatic calculation of this parameter.
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: