RESULTOPTIONS

typedef struct _tagResultOptions
{
   L_UINT uStructSize;
   FORMAT_TYPE Format;
   FORMATLEVEL FormatLevel;
   DOCUMENTOPTIONS DocOptions;
   PARAGRAPHOPTIONS ParagOptions;
   CHARACTEROPTIONS CharOptions;
   MARKOPTIONS MarkOptions;
} RESULTOPTIONS, * pRESULTOPTIONS;

The RESULTOPTIONS structure contains result document properties for the final output document.

This structure contains the format type that will be used in saving the recognition results by calling L_DocSaveResultsToFile.

Member

Description

uStructSize

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

Format

Specifies the output text format for the final output document. For a list of possible values, refer to FORMAT_TYPE.

FormatLevel

Specifies the level of format retention for the final output document. For a list of possible values, refer to FORMATLEVEL.

DocOptions

Structure that contains document options. For more information, refer to the DOCUMENTOPTIONS structure.

ParagOptions

Structure that contains paragraph options. For more information, refer to PARAGRAPHOPTIONS structure.

CharOptions

Structure that contains character options. For moreinformation, refer to CHARACTEROPTIONS structure.

MarkOptions

Structure that contains mark options. For more information, refer to MARKOPTIONS structure.

Comments

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

This structure is used with the following functions:

L_DocSetRecognitionResultOptions

L_DocGetRecognitionResultOptions