Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

HANDPRINTOPTIONS

Show in webframe

typedef struct _tagHandPrintOptions
{
   L_UINT uStructSize;
   HANDRECOG_STYLE style;
   L_BOOL bSpace;
   L_INT nCharHeight;
   L_INT nCharWidth;
   L_INT nCharSpace;
} HANDPRINTOPTIONS, * pHANDPRINTOPTIONS;

The HANDPRINTOPTIONS structure contains options for Hand print recognition.

Member

Description

uStructSize

Specifies the structure size. It should be equal to sizeof(HANDPRINTOPTIONS).

style

Specifies the writing style setting for the hand printed numerals recognition module. For a list of possible options, refer to HANDRECOG_STYLE.

bSpace

Flag that indicates whether the hand printed numeral 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/1200 of an inch. A value of zero (0) forces the automatic calculation of this parameter. If this parameter is zero (0), the remaining fields are also considered 0.

nCharWidth

Character width in 1/1200 of an inch. A value of zero (0) forces the automatic calculation of this parameter.

nCharSpace

Leading spaces in 1/1200 of an inch. A value of zero (0) forces the automatic calculation of this parameter.

Comments

This structure used only when the recognition module is RECOGMODULE_HAND_PRINTED_NUMERAL.

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

This structure is used with the following functions:

L_DocSetHandPrintOptions

L_DocGetHandPrintOptions

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.