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

TEXTCOMMONSETTINGS

Show in webframe

typedef struct _tagTextCommonSettings
{
   L_UINT32 uStructSize;
   L_BOOL bAppend;
   L_CHAR * pszAppendFrom;
   DOC2_HEADERFOOTERSETTING HFSetng;
} TEXTCOMMONSETTINGS, * pTEXTCOMMONSETTINGS;

The TEXTCOMMONSETTINGS structure provides information about common settings for the following output formats:

DOC2_TEXT

DOC2_UTEXT

DOC2_FORMATTED_TEXT

DOC2_UFORMATTED_TEXT

DOC2_TEXT_LINEBREAKS

DOC2_UTEXT_LINEBREAKS

DOC2_TEXT_CSV

DOC2_TEXT_UCSV

 

Member

Description

uStructSize

Structure size. It should be equal to size of(TEXTCOMMONSETTINGS).

bAppend

Enables or disables whether text will be appended. Possible values are:

 

Value

Meaning

 

TRUE

Append text.

 

FALSE

Do not append text.

pszAppendFrom

Character string that contains append the output to this file
The toolkit will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

HFSetng

Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.

Comments

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

This structure is used with the following functions:

L_Doc2GetOutputFormatSettings

L_Doc2SetOutputFormatSettings

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