TEXTCOMMONSETTINGS

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help