CHARACTEROPTIONS

typedef struct _tagCharacterOptions
{
   L_UINT uStructSize;
   SELECTOR SelOutputFont;
   FONTDEFINE FontNames[5];
   L_INT nSize;
   L_BOOL bBold;
   L_BOOL bItalic;
   L_BOOL bUnderline;
} CHARACTEROPTIONS, L_FAR * pCHARACTEROPTIONS;

The CHARACTEROPTIONS structure contains Character properties for the final output document.

Member

Description

uStructSize

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

SelOutputFont

Value that indicates whether the font names and character sizes are exported, and if so, are they calculated or predefined. For a list of possible values, refer to SELECTOR.

FontNames

Array of output font constants. The application can change the real default font names to be used for each index.

nSize

Character size setting for the pre-defined font. Valid only if the SelOutputFont member is SEL_PREDEFINED.

bBold

Flag that specifies whether the character is bold. Possible values are:

 

Value

Meaning

 

TRUE

The character is bold.

 

FALSE

The character is not bold.

bItalic

Flag that specifies whether the character is italic. Possible values are:

 

Value

Meaning

 

TRUE

The character is italic.

 

FALSE

The character is not italic.

bUnderline

Flag that specifies whether the character is underlined. Possible values are:

 

Value

Meaning

 

TRUE

The character is underlined.

 

FALSE

The character is not underlined.

Comments

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

This structure is used with the following functions:

L_DocSetRecognitionResultOptions

L_DocGetRecognitionResultOptions

This structure is used with the RESULTOPTIONS structure.