typedef struct _DOCWRTTXTOPTIONS 
   L_BOOL bAddPageNumber; 
   L_BOOL bAddPageBreak; 
   L_BOOL bFormatted; 
   L_UINT32 uFlags; 

The DOCWRTTXTOPTIONS structure provides information about a Text file.


pDOCWRTTXTOPTIONS is a pointer to DOCWRTTXTOPTIONS structure. Generally, where a function parameter type is pDOCWRTTXTOPTIONS, you can declare a DOCWRTTXTOPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pDOCWRTTXTOPTIONS variable is necessary only if your program requires a pointer.

Text files are used extensively to provide human-readable representation of data that can easily be exchanged. Text files are generally single-page only, however, special markers can be inserted into the flow of text to denote a page break as well as page numbers.

The LEADTOOLS Document Writers support creating ASCII, UTF8 and UNICODE text documents. The following features are supported:

The uStructSize at Options structure should be set to the size of DOCWRTTXTOPTIONS, Use the sizeof() operator to calculate this value.

If the bFormatted member of this structure is set to TRUE the output file will maintain the same shape as the original file (i.e. margins, lines between paragraphs, etc).

This structure is used with the L_DocWriterConvert and L_DocWriterInit functions.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help