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

MARKOPTIONS

Show in webframe

typedef struct _tagMarkOptions
{
   L_UINT uStructSize;
   L_UINT uColSuspCharacter;
   L_UINT uColRejectionSymbol;
   L_UINT uColMissingSymbol;
   L_UINT uColSuspWord;
   L_WCHAR szSepBeforeSuspCharacter[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepBeforeRejectionSymbol[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepBeforeMissingSymbol[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepStartofSuspWord[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepEndofSuspWord[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepStartofLine[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepEndofLine[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepStartofTableRow[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepEndofTableRow[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepStartofPara[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepEndofPara[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepStartofZone[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepEndofZone[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepStartofPage[MAX_SEPARATOR_SIZE];
   L_WCHAR szSepEndofPage[MAX_SEPARATOR_SIZE];
} MARKOPTIONS, *pMARKOPTIONS;

The MARKOPTIONS structure contains Output-marking properties (coloring or separator marking) for the final output document.

Member

Description

uStructSize

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

uColSuspCharacter

Defines a color for the suspect characters in the final output document. Valid values may be one or more of the following values, ORed (|).

 

Value

Meaning

 

COLOR_BLUE

[0x001] The blue foreground color component is enabled for the character.

 

COLOR_GREEN

[0x002] The green foreground color component is enabled for the character.

 

COLOR_RED

[0x004] The red foreground color component is enabled for the character.

 

COLOR_INTENSIVE

[0x008] The intensity of the foreground color components.

 

COLOR_NONE

[0x00F] There is no font coloring.

uColRejectionSymbol

Defines a color for the rejection symbol in the final output document. Valid values may be one or more of the following values, ORed (|).

 

Value

Meaning

 

COLOR_BLUE

[0x001] The blue foreground color component is enabled for the character.

 

COLOR_GREEN

[0x002] The green foreground color component is enabled for the character.

 

COLOR_RED

[0x004] The red foreground color component is enabled for the character.

 

COLOR_INTENSIVE

[0x008] The intensity of the foreground color components.

 

COLOR_NONE

[0x00F] There is no font coloring.

uColMissingSymbol

Defines a color for the missing symbol in the final output document. Valid values may be one or more of the following values, ORed (|).

 

Value

Meaning

 

COLOR_BLUE

[0x001] The blue foreground color component is enabled for the character.

 

COLOR_GREEN

[0x002] The green foreground color component is enabled for the character.

 

COLOR_RED

[0x004] The red foreground color component is enabled for the character.

 

COLOR_INTENSIVE

[0x008] The intensity of the foreground color components.

 

COLOR_NONE

[0x00F] There is no font coloring.

uColSuspWord

Defines a color for the suspect words in the final output document, i.e. for the words not approved by the Checking subsystem. Valid values may be one or more of the following values, ORed (|).

 

Value

Meaning

 

COLOR_BLUE

[0x001] The blue foreground color component is enabled for the character.

 

COLOR_GREEN

[0x002] The green foreground color component is enabled for the character.

 

COLOR_RED

[0x004] The red foreground color component is enabled for the character.

 

COLOR_INTENSIVE

[0x008] The intensity of the foreground color components.

 

COLOR_NONE

[0x00F] There is no font coloring.

szSepBeforeSuspCharacter

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted before each suspect character in the final output document.

szSepBeforeRejectionSymbol

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted before each rejection symbol in the final output document.

szSepBeforeMissingSymbol

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted before each missing symbol in the final output document.

szSepStartofSuspWord

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted before each suspect word in the final output document (i.e. before the words not approved by the Checking subsystem).

szSepEndofSuspWord

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted after each suspect word in the final output document (i.e. after the words not approved by the Checking subsystem).

szSepStartofLine

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the beginning of each line in the final output document.

szSepEndofLine

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at he end of each line in the final output document.

szSepStartofTableRow

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted before each table row in the final output document.

szSepEndofTableRow

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the end of each table row in the final output document.

szSepStartofPara

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the beginning of each paragraph in the final output document.

szSepEndofPara

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the end of each paragraph in the final output document.

szSepStartofZone

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the beginning of each zone in the final output document.

szSepEndofZone

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the end of each zone in the final output document.

szSepStartofPage

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the beginning of each page in the final output document.

szSepEndofPage

Pointer to a user-defined UNICODE string or NULL. It must point to a separator string that will be inserted at the end of each page in the final output document.

Comments

pMARKOPTIONS is a pointer to a MARKOPTIONS structure. Where the function parameter type is pMARKOPTIONS, declare a MARKOPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pMARKOPTIONS 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.

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