| Leadtools.Documents.Writers Namespace : TextDocumentOptions Object |

function Leadtools.Documents.Writers.TextDocumentOptions()
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. |