TextDocumentOptions Object

Summary

Provides extra options to use when saving a document to a text file using the LEADTOOLS Document Writers.

Syntax
TypeScript
JavaScript
function lt.Document.Writer.TextDocumentOptions 
   extends DocumentOptions 
class lt.Document.Writer.TextDocumentOptions 
   extends DocumentOptions 

Remarks

The options set in the TextDocumentOptions class will be used when the user saves a document using the DocumentFormat.Text format.

The TextDocumentOptions class contains the following properties:

Property Description
DocumentType
The type of the Text document (ANSI, UTF8 or UNICODE).
Formatted
To control whether the output file will be just a flow of text or try to maintain almost the same shape of original page (i.e. margins and lines between paragraphs using spaces).
AddPageBreak
Add an optional marker between pages in the resulting text file.
AddPageNumber
Print the page numbers in the resulting text file.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly